From 759fabb73af65378b6c44ad68793072c694efefa Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sun, 27 Feb 2022 09:48:10 +0000 Subject: [PATCH] fix menu item margin switch to flexbox gap --- assets/scss/partials/menu.scss | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/scss/partials/menu.scss b/assets/scss/partials/menu.scss index 3bd225c..257eedb 100644 --- a/assets/scss/partials/menu.scss +++ b/assets/scss/partials/menu.scss @@ -125,7 +125,6 @@ .menu { padding-left: 0; list-style: none; - display: flex; flex-direction: column; overflow-y: auto; flex-grow: 1; @@ -138,8 +137,17 @@ margin: 0 -15px; + &, + .menu-bottom-section { + gap: 15px; + @include respond(xl) { + margin-top: 30px; + gap: 20px; + } + } + &.show { - display: block; + display: flex; } @include respond(md) { @@ -161,14 +169,6 @@ vertical-align: middle; padding: 10px 30px; - &:not(:last-of-type) { - margin-bottom: 15px; - - @include respond(xl) { - margin-bottom: 20px; - } - } - @include respond(md) { width: 100%; padding: 10px 0;