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:
Volker E 2019-03-29 22:44:56 -07:00
parent a03ced4677
commit 8398bda8fd

View file

@ -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 */