From a20c8d4895ad1c2949e0a9533042cc8018be3f0f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 5 Dec 2024 09:14:24 +0100 Subject: Revert "Style lists by default" This reverts commit 6e1009c6c4c1cedfd2bfbb38eb9543e72a275461. --- src/layouts/_button-group.scss | 9 +++------ src/layouts/_card-list.scss | 3 --- src/layouts/_list.scss | 14 -------------- 3 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 src/layouts/_list.scss (limited to 'src/layouts') diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index cae7042..c51ae7e 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss @@ -10,11 +10,8 @@ @include materialize-at-root(meta.module-variables('vars')); @include bem.layout('button-group') { - display: flex; - flex-wrap: wrap; - gap: props.get(vars.$spacing); - padding: 0; - margin: 0; - list-style: none; + display: flex; + flex-wrap: wrap; + gap: props.get(vars.$spacing); } } diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index f76d18b..8ef40c5 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss @@ -14,9 +14,6 @@ display: flex; flex-direction: column; gap: props.get(vars.$row-gap); - padding: 0; - margin: 0; - list-style: none; @include bem.modifier('quiet') { row-gap: props.get(vars.$quiet--row-gap); diff --git a/src/layouts/_list.scss b/src/layouts/_list.scss deleted file mode 100644 index 997634c..0000000 --- a/src/layouts/_list.scss +++ /dev/null @@ -1,14 +0,0 @@ -@use 'sass:meta'; -@use 'iro-sass/src/bem'; -@use 'iro-sass/src/props'; -@use '../props' as *; - -@mixin styles { - @include bem.layout('list') { - @include bem.modifier('unstyled') { - padding: 0; - margin: 0; - list-style: none; - } - } -} -- cgit v1.2.3-70-g09d2