mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +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 {
|
ul {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: inherit;
|
margin-bottom: inherit;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* stylelint-enable no-descending-specificity */
|
/* stylelint-enable no-descending-specificity */
|
||||||
|
|
Loading…
Reference in a new issue