MediaWiki:Gadget-column-hacks.css

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

/*
	Hacks to fix the rendering of columns in Internet Explorer and Firefox,
	from [[Wiktionary:Beer parlour/2019/June#{{top3}} in descendants section (e.g. Proto-Slavic)]].
*/
/* This only runs in Internet Explorer. */
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
	.derivedterms ul {
		-webkit-column-break-inside: avoid;
		break-inside: avoid;
	}
}

/* This only runs in Firefox. */
@-moz-document url-prefix() {
    .derivedterms ul {
        break-inside: avoid;
    }
}