From 15fd9f4a6ecf947c7648c6b7865b97c40124fde1 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 14 Apr 2022 19:12:54 +0200 Subject: chore: add a MainNav component --- src/components/atoms/lists/list.module.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/components/atoms/lists/list.module.scss') diff --git a/src/components/atoms/lists/list.module.scss b/src/components/atoms/lists/list.module.scss index c6fbf53..df3b49c 100644 --- a/src/components/atoms/lists/list.module.scss +++ b/src/components/atoms/lists/list.module.scss @@ -9,12 +9,6 @@ margin-top: var(--spacing-2xs); } - &__item { - &:not(:last-child) { - margin-bottom: var(--spacing-2xs); - } - } - &--ordered { padding: 0; counter-reset: li; @@ -36,4 +30,10 @@ &--unordered { padding: 0 0 0 var(--spacing-sm); } + + &--has-margin &__item { + &:not(:last-child) { + margin-bottom: var(--spacing-2xs); + } + } } -- cgit v1.2.3