Fix wrapping on category lists
This commit is contained in:
parent
7e0b9d2918
commit
4082f33520
14
gmt.css
14
gmt.css
|
@ -149,3 +149,17 @@ p.nb {
|
|||
#mw-related-navigation .sidebar-chunk h3 {
|
||||
border-bottom: var(--colour_secondary) 1px dashed;
|
||||
}
|
||||
|
||||
/* Categories Lists */
|
||||
|
||||
div.mw-category-group h3 {
|
||||
/* Remove margin 'cause it's applied weird to first item */
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
div.mw-category-group {
|
||||
/* Don't break sections over columns */
|
||||
break-inside:avoid-column;
|
||||
/* Reapply maring to bottom of each section */
|
||||
margin-bottom:2em;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue