From 94448fa278ab352a741ff13f22d6104869571144 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 18 Oct 2023 19:25:02 +0200 Subject: feat(components): add a generic Grid component * merge Columns, Gallery and CardsList into Grid component * add more options to control the grid --- src/components/atoms/lists/list/list.module.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/components/atoms/lists') 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; +} -- cgit v1.2.3