MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 442: | Line 442: | ||
margin-left: 24px !important; | margin-left: 24px !important; | ||
white-space: nowrap !important; | white-space: nowrap !important; | ||
} | |||
/* === FINAL FIX: siteNotice layout using CSS Grid === */ | |||
#siteNotice { | |||
display: grid !important; | |||
grid-template-columns: 1fr auto; | |||
align-items: center; | |||
column-gap: 24px; | |||
} | |||
/* Ensure donate button stays in the right column */ | |||
#siteNotice a { | |||
grid-column: 2; | |||
justify-self: end; | |||
white-space: nowrap; | |||
} | |||
/* Close button stays top-right */ | |||
.icelist-notice-close { | |||
position: absolute; | |||
top: 10px; | |||
right: 14px; | |||
} | } | ||