Template:Incident infobox/styles.css: Difference between revisions
Keep the language bar beside the infobox so text starts at the top |
Keep the language bar beside the infobox so text starts at the top |
||
| Line 13: | Line 13: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* Translate's | /* Articles put <languages/> above the infobox. If a page has it below (e.g. one created with the | ||
form, where the infobox comes first), Translate's full-width, clear:both language bar would push the | |||
article text below the infobox; let it shrink and sit beside the infobox instead. */ | |||
.incident-infobox ~ .mw-pt-languages { | .incident-infobox ~ .mw-pt-languages { | ||
clear: none; | clear: none; | ||
width: auto; | |||
display: flow-root; | display: flow-root; | ||
} | } | ||