diff --git a/src/components/common/navBarCommon/index.module.scss b/src/components/common/navBarCommon/index.module.scss index a1dc16d..b05da90 100644 --- a/src/components/common/navBarCommon/index.module.scss +++ b/src/components/common/navBarCommon/index.module.scss @@ -5,7 +5,7 @@ left: 0; z-index: 1000; width: min(100%, 700px); - padding: 12px; + padding: 8px; margin: 10px auto; font-family: utils.$font-serif; font-size: 16px; @@ -30,14 +30,19 @@ @extend %center-items-grid; z-index: 100; - grid-template-columns: repeat(5, 1fr); + grid-template-columns: 1fr 1fr 40px 1fr 1fr; + gap: 8px; padding: 0; margin: 0 auto; list-style: none; } -.icons { - height: 30px; +.nav-item { + @extend %center-items-grid; + + width: 100%; + height: 100%; + border-radius: 100px; } .c-mark-nav { @@ -51,4 +56,10 @@ .text-link { position: relative; + + &.-active { + // layer won't work for this + text-decoration: underline; + text-underline-offset: 4px; + } } diff --git a/src/components/common/navBarCommon/index.tsx b/src/components/common/navBarCommon/index.tsx index 5dc1f10..cfc1ab9 100644 --- a/src/components/common/navBarCommon/index.tsx +++ b/src/components/common/navBarCommon/index.tsx @@ -27,7 +27,7 @@ export const NavBarCommon = () => { return (