From 72ad8fc6bbc0abbb822db5a9210d41e019ef44c3 Mon Sep 17 00:00:00 2001 From: zellerbaptiste Date: Mon, 31 Jul 2023 16:50:43 +0200 Subject: [PATCH 1/3] feat(header): corrige la couleur et les espacements des icones menu et burger en mobile --- src/component/header/style/_scheme.scss | 4 ---- src/component/header/style/module/_navbar.scss | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/component/header/style/_scheme.scss b/src/component/header/style/_scheme.scss index 35ce98816..5bcff24f5 100644 --- a/src/component/header/style/_scheme.scss +++ b/src/component/header/style/_scheme.scss @@ -55,10 +55,6 @@ #{ns(btn)} { @include btn-kind-scheme(4, $legacy); - - &--menu { - @include color.text(default grey, (legacy:$legacy)); - } } } diff --git a/src/component/header/style/module/_navbar.scss b/src/component/header/style/module/_navbar.scss index bb4549939..59aa0d164 100644 --- a/src/component/header/style/module/_navbar.scss +++ b/src/component/header/style/module/_navbar.scss @@ -10,6 +10,7 @@ @include display-flex(row,flex-end); @include padding(1v); @include margin-left(auto); + @include margin-right(-2v); order: 3; flex: 0 0 auto; align-self: flex-start; @@ -20,6 +21,8 @@ } @include nest-btn(md, only) { + @include margin-left(2v); + @include margin-right(2v); flex: 0 0 auto; white-space: nowrap; From 285ea4a5ded1bf0ad75a2d33aee363676f451075 Mon Sep 17 00:00:00 2001 From: lab9 Date: Mon, 4 Sep 2023 14:36:59 +0200 Subject: [PATCH 2/3] Update _scheme.scss --- src/component/header/style/_scheme.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/component/header/style/_scheme.scss b/src/component/header/style/_scheme.scss index 5bcff24f5..d43b50f85 100644 --- a/src/component/header/style/_scheme.scss +++ b/src/component/header/style/_scheme.scss @@ -55,6 +55,10 @@ #{ns(btn)} { @include btn-kind-scheme(4, $legacy); + + &--menu { + @include btn-kind-scheme(3, $legacy); + } } } From 866874a628c30453ca8630db6267ba9454527368 Mon Sep 17 00:00:00 2001 From: Keryan SANIE Date: Wed, 18 Oct 2023 18:21:26 +0200 Subject: [PATCH 3/3] fix(header): alignement navbar et correction scroll en mobile --- src/component/header/style/module/_brand.scss | 1 + src/component/header/style/module/_navbar.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/src/component/header/style/module/_brand.scss b/src/component/header/style/module/_brand.scss index e5d94e199..c7b34e233 100644 --- a/src/component/header/style/module/_brand.scss +++ b/src/component/header/style/module/_brand.scss @@ -11,6 +11,7 @@ @include margin-y(-4v, lg); @include size(100%); @include padding-x(1v); + overflow: hidden; @include media-query.respond-from(lg) { flex-wrap: nowrap; diff --git a/src/component/header/style/module/_navbar.scss b/src/component/header/style/module/_navbar.scss index 59aa0d164..97fe80c91 100644 --- a/src/component/header/style/module/_navbar.scss +++ b/src/component/header/style/module/_navbar.scss @@ -11,6 +11,7 @@ @include padding(1v); @include margin-left(auto); @include margin-right(-2v); + @include margin-top(1v); order: 3; flex: 0 0 auto; align-self: flex-start;