mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
Reduce li
selector specificity for general li treatment
Same margin is used for both `ol li` and `ul li`. And `li` shouldn't be used anywhere else then as child of those two parent elements or `menu` anyways, which doesn't seem in use on mobile, therefore reducing the specificity. Side-effects would only be visible in invalid code. Change-Id: Idddc3115b08c9937a1d2141b23f33008d6776f60
This commit is contained in:
parent
a03ced4677
commit
8398bda8fd
|
@ -23,13 +23,13 @@
|
|||
ul {
|
||||
margin-left: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
&:last-child {
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
}
|
||||
/* stylelint-enable no-descending-specificity */
|
||||
|
|
Loading…
Reference in a new issue