MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
/* Flag + name stay together */ | /* Flag + name stay together */ | ||
.flagtext { | .flagtext { | ||
display: inline; | display: inline; | ||
white-space: | vertical-align: middle; | ||
white-space: normal; | |||
} | } | ||
Revision as of 23:09, 23 January 2026
/* CSS placed here will be applied to all skins */
/* Infobox wrapping (Wikipedia behavior) */
.infobox td,
.infobox th {
white-space: normal;
word-break: break-word;
overflow-wrap: anywhere;
}
/* Flag + name stay together */
.flagtext {
display: inline;
vertical-align: middle;
white-space: normal;
}
.flagtext {
margin-left: 0.25em;
}
.infobox {
table-layout: fixed;
}