From 172d27a6d235fe332678a4371de46bf9cf7f089f Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sun, 28 Nov 2021 16:44:27 +0100 Subject: [PATCH] front/NavMenuItem: remove margin top/left on first menu item --- src/assets/views/components/NavMenuItem.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/assets/views/components/NavMenuItem.svelte b/src/assets/views/components/NavMenuItem.svelte index b01d4c8..6e40479 100644 --- a/src/assets/views/components/NavMenuItem.svelte +++ b/src/assets/views/components/NavMenuItem.svelte @@ -19,11 +19,15 @@ line-height: 1; @include medium-le { - margin-top: 8px; + &:not(:first-child) { + margin-top: 8px; + } } @include large-ge { - margin-left: 8px; + &:not(:first-child) { + margin-left: 8px; + } } a {