aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/list
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/lists/list')
-rw-r--r--src/components/atoms/lists/list/list.module.scss12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/components/atoms/lists/list/list.module.scss b/src/components/atoms/lists/list/list.module.scss
index 5a38b44..fc23ce5 100644
--- a/src/components/atoms/lists/list/list.module.scss
+++ b/src/components/atoms/lists/list/list.module.scss
@@ -15,14 +15,12 @@
}
}
- &--stack#{&} {
- &--ordered,
- &--unordered {
- @extend %regular-list;
- }
- }
-
&--no-marker {
list-style-type: none;
}
}
+
+.list--ordered:where(.list--stack),
+.list--unordered:where(.list--stack) {
+ @extend %regular-list;
+}