From 0b0fa78a404dc6a7930a4352fe819958e043987f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Fri, 29 Nov 2024 11:04:43 +0100 Subject: [PATCH] fixup! Feat(web): Introduce UNSTABLE Header --- .../UNSTABLE_Header/_UNSTABLE_Header.scss | 10 + .../components/UNSTABLE_Header/index.html | 230 ++++++++++-------- 2 files changed, 145 insertions(+), 95 deletions(-) diff --git a/packages/web/src/scss/components/UNSTABLE_Header/_UNSTABLE_Header.scss b/packages/web/src/scss/components/UNSTABLE_Header/_UNSTABLE_Header.scss index d88aa68b4f..990843d0e7 100644 --- a/packages/web/src/scss/components/UNSTABLE_Header/_UNSTABLE_Header.scss +++ b/packages/web/src/scss/components/UNSTABLE_Header/_UNSTABLE_Header.scss @@ -1,4 +1,5 @@ @use '../../tools/breakpoint'; +@use '../Container'; @use 'theme'; .UNSTABLE_Header { @@ -12,12 +13,21 @@ } .UNSTABLE_Header__container { + @extend .Container; + display: flex; align-items: center; justify-content: space-between; height: theme.$height; } +.UNSTABLE_Header--fluid .UNSTABLE_Header__container { + width: auto; + max-width: none; + padding-inline: 0; + margin-inline: 0; +} + .UNSTABLE_Header--simple .UNSTABLE_Header__container { justify-content: space-around; } diff --git a/packages/web/src/scss/components/UNSTABLE_Header/index.html b/packages/web/src/scss/components/UNSTABLE_Header/index.html index 9ab2236a3a..7417145cd7 100644 --- a/packages/web/src/scss/components/UNSTABLE_Header/index.html +++ b/packages/web/src/scss/components/UNSTABLE_Header/index.html @@ -8,14 +8,12 @@

Minimal Header

-
@@ -31,7 +29,7 @@

Header

-
+