diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-18 19:25:02 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:14:41 +0100 |
| commit | 94448fa278ab352a741ff13f22d6104869571144 (patch) | |
| tree | 2185e77f2866d11a0144d4ac5a01c71a76807341 /src/components/atoms | |
| parent | c153f93dc8691a71dc76aad3dd618298da9d238a (diff) | |
feat(components): add a generic Grid component
* merge Columns, Gallery and CardsList into Grid component
* add more options to control the grid
Diffstat (limited to 'src/components/atoms')
| -rw-r--r-- | src/components/atoms/lists/list/list.module.scss | 12 |
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; +} |
