MediaWiki:Mobile.css: Difference between revisions
tweaking |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 5: | Line 5: | ||
.navbox-inner { | .navbox-inner { | ||
display: block !important; | display: block !important; | ||
height: auto !important; | |||
max-height: none !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | |||
overflow-x: auto !important; | overflow-x: auto !important; | ||
-webkit-overflow-scrolling: touch; | -webkit-overflow-scrolling: touch; | ||
Revision as of 20:52, 24 April 2025
/* All CSS here will be loaded for users of the mobile site */
/* force navboxes to show and scroll on mobile */
.navbox,
.navbox-inner {
display: block !important;
height: auto !important;
max-height: none !important;
visibility: visible !important;
opacity: 1 !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
/* lay out the groups inline so they scroll as one row */
.navbox-group,
.navbox-list {
white-space: nowrap;
margin: 0;
padding: 0;
}
.navbox-group > li,
.navbox-list > li {
display: inline-block;
float: none;
}