MediaWiki:Common.css: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 69: | Line 69: | ||
/* it seems to make mobile lose padding on edges; so to override for small screens: */ | /* it seems to make mobile lose padding on edges; so to override for small screens: */ | ||
@media screen and (max-width: 650px) { | .ns-3000 #bodyContent @media screen and (max-width: 650px) { | ||
# | #content { | ||
max-width: none; /* Remove the max-width constraint on small screens */ | max-width: none; /* Remove the max-width constraint on small screens */ | ||
padding: 0 10px; /* Add padding to ensure text doesn't touch the screen edges */ | |||
margin: 0 10px; /* Optional: Add margin to control the distance from the screen edges */ | |||
} | } | ||
} | } |