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 language bar has clear:both, which pushes it (and the article text after it)
/* Articles put <languages/> above the infobox. If a page has it below (e.g. one created with the
  below the floated infobox. Let it sit beside the infobox instead. */
  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;
}
}