aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/MainNav
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-20 23:11:08 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-20 23:11:08 +0100
commit6092ad0c91e0dc268e5988174db87ded14e6c931 (patch)
treedd3fc56ae9bde5aa4796bc3889927f55e411dc59 /src/components/MainNav
parent168ed3215f659d44215fd02ac05cc1fe58be4e06 (diff)
chore: move toolbar size to global scope
It allows me to manage footer padding on small viewports.
Diffstat (limited to 'src/components/MainNav')
-rw-r--r--src/components/MainNav/MainNav.module.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MainNav/MainNav.module.scss b/src/components/MainNav/MainNav.module.scss
index 596f1d5..d732b99 100644
--- a/src/components/MainNav/MainNav.module.scss
+++ b/src/components/MainNav/MainNav.module.scss
@@ -75,7 +75,7 @@
bottom: auto;
left: auto;
right: auto;
- top: var(--btn-size);
+ top: calc(var(--btn-size) + var(--spacing-sm));
z-index: unset;
border-bottom-width: fun.convert-px(5);
transform-origin: 50% -100%;