Template:Reflist/styles.css

< Template:Reflist
Revision as of 04:38, 17 December 2020 by wikipedia>Izno (templatestyles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Reset top margin for lists embedded in columns */
.reflist-columns {
	margin-top: 0.3em;
}
.reflist-columns dl,
.reflist-columns ol,
.reflist-columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.reflist-columns li,
.reflist-columns dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}