MediaWiki:Common.css: Difference between revisions
fixed the mobile layout scrolling sideways |
tightened up mobile spacing a bit more |
||
| Line 1,344: | Line 1,344: | ||
.categories-grid, .popular-grid, .skills-grid { | .categories-grid, .popular-grid, .skills-grid { | ||
grid-template-columns: 1fr !important; | grid-template-columns: 1fr !important; | ||
} | |||
/* The leaderboard widgets have a hardcoded inline min-width:300px that | |||
stops them shrinking on the narrowest phones; override it. */ | |||
.leaderboards-row { | |||
flex-direction: column !important; | |||
} | |||
.widget-box { | |||
min-width: 0 !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
} | } | ||