Support for nesting ul in ol and vice versa

This commit is contained in:
Patrick Marsceill
2019-02-02 17:38:36 -06:00
parent aee6d1fb8c
commit 0ac8ec23bf
2 changed files with 22 additions and 4 deletions

View File

@@ -21,13 +21,13 @@
list-style-type: none;
counter-reset: step-counter;
li {
>li {
position: relative;
&::before {
position: absolute;
top: 0.2em;
left: -1.5em;
left: -1.6em;
color: $grey-dk-000;
content: counter(step-counter);
counter-increment: step-counter;
@@ -54,10 +54,10 @@
ul {
list-style: none;
li {
>li {
&::before {
position: absolute;
margin-left: -1.5em;
margin-left: -1.4em;
color: $grey-dk-000;
content: "";
}