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.
- This style sheet lacks a documentation subpage. Please create it.
- This script is a part of the
column-hacks
gadget (edit definitions)- Description (edit): Fix column breaks in derived terms boxes in certain web browsers on by default, disable at your own risk
- Useful links: subpage list • links • redirects
/*
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;
}
}