From 06df908c343a027617f55432b3dd0f5fe4a5c7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 25 Nov 2021 22:42:46 +0100 Subject: [PATCH] Fix Switcher positioning --- src/style/molecules/_switcher.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/style/molecules/_switcher.scss b/src/style/molecules/_switcher.scss index 0de2532..e267d45 100644 --- a/src/style/molecules/_switcher.scss +++ b/src/style/molecules/_switcher.scss @@ -20,7 +20,7 @@ &__links { position: absolute; z-index: 2; - top: 0; + bottom: calc(var(--button-size) + 16px); left: 0; min-width: 240px; opacity: 0; @@ -128,14 +128,14 @@ &__button { i { &:nth-child(1) { - transform: translate3d(-6px, 5px, 0); + transform: translate3d(-5px, 5px, 0); @include bp (md) { transform: translate3d(-7px, 8px, 0); } } &:nth-child(2) { - transform: translate3d(6px, -2px, 0); + transform: translate3d(5px, -2px, 0); @include bp (md) { transform: translate3d(7px, -2px, 0);