MediaWiki:Mobile.css: Difference between revisions
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
mNo edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
.minerva-header .branding-box { | |||
.minerva-header .branding-box { | max-width: 50% !important; /* Prevents header from becoming too wide */ | ||
white-space: normal !important; | |||
max-width: | |||
white-space: normal; | |||
word-wrap: break-word; | word-wrap: break-word; | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
text-overflow: ellipsis; /* Prevents it from overflowing */ | |||
display: block !important; | |||
flex-shrink: 1 !important; /* Ensures it shrinks properly */ | |||
} | } | ||
@media (max-width: 768px) { /* Mobile-specific adjustments */ | |||
@media (max-width: 768px) { /* | |||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
max-width: | max-width: 40% !important; /* Adjust to prevent pushing icons */ | ||
font-size: 14px !important; /* Ensures proper text scaling */ | |||
} | } | ||
} | } | ||