From 5d3e8a4d0c2ce2ad8f22df857ab3ce54fcfc38ac Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 3 Nov 2023 12:22:47 +0100 Subject: refactor(components): replace Toolbar with Navbar component * remove SearchModal and SettingsModal components * add a generic NavbarItem component (instead of the previous toolbar items to avoid unreadable styles...) * move FlippingLabel component logic into NavbarItem since it is only used here --- .../organisms/modals/settings-modal.module.scss | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/components/organisms/modals/settings-modal.module.scss (limited to 'src/components/organisms/modals/settings-modal.module.scss') diff --git a/src/components/organisms/modals/settings-modal.module.scss b/src/components/organisms/modals/settings-modal.module.scss deleted file mode 100644 index 68bce98..0000000 --- a/src/components/organisms/modals/settings-modal.module.scss +++ /dev/null @@ -1,19 +0,0 @@ -@use "../../../styles/abstracts/functions" as fun; -@use "../../../styles/abstracts/variables" as var; - -.wrapper { - width: 100%; - - @media screen and (max-height: #{var.get-breakpoint("2xs")}) and (max-width: #{var.get-breakpoint("sm")}) { - --first-col-width: #{fun.convert-px(140)}; - --col-gap: var(--spacing-xl); - - display: grid; - grid-template-columns: var(--first-col-width) 1fr; - gap: var(--spacing-xl); - } -} - -.icon { - margin-right: var(--spacing-2xs); -} -- cgit v1.2.3