Fix responsive navigation: make top tabs and filter links wrap properly at smaller window widths
This commit is contained in:
@ -28,9 +28,12 @@
|
||||
|
||||
/* Center filter links */
|
||||
.wp-filter .filter-links {
|
||||
display: inline-block;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
float: none !important;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-filter .filter-links li {
|
||||
@ -38,6 +41,21 @@
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Responsive filters */
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-filter .filter-links li > a {
|
||||
padding: 12px 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.wp-filter .filter-links li > a {
|
||||
padding: 10px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Plugin Cards - Use consistent layout similar to 768px width for all screens */
|
||||
.plugin-card {
|
||||
margin: 0 0 24px 0 !important;
|
||||
|
Reference in New Issue
Block a user