MediaWiki:Gadget-column-hacks.css: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
 
 
(No difference)

Latest revision as of 00:04, 18 July 2019

/*
	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;
    }
}