User:Sylvia/citizen.css: Difference between revisions
m (More testing) |
m (Testing) |
||
| Line 9: | Line 9: | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
white-space: nowrap; | color: red; /* Change the wordmark's text color to red */ | ||
overflow: hidden; | white-space: nowrap; /* Prevent wordmark wrapping if unintended */ | ||
text-overflow: ellipsis; | overflow: hidden; /* Prevent text from spilling outside the container */ | ||
text-overflow: ellipsis; /* Optional: Add ellipsis if the text overflows */ | |||
} | } | ||
Revision as of 19:03, 15 December 2024
html, body {
overflow-x: hidden;
}
.citizen-drawer__header {
max-width: 100%;
overflow: hidden;
}
.mw-logo-wordmark {
color: red; /* Change the wordmark's text color to red */
white-space: nowrap; /* Prevent wordmark wrapping if unintended */
overflow: hidden; /* Prevent text from spilling outside the container */
text-overflow: ellipsis; /* Optional: Add ellipsis if the text overflows */
}