From 0a690aa0dceed6a372443dd8398ffd08e2702932 Mon Sep 17 00:00:00 2001
From: alexanderdavide <alexeble1998@gmail.com>
Date: Thu, 17 Feb 2022 20:05:06 +0000
Subject: [PATCH] fix: languageswitcher triangle alignment and mobile spacing
---
assets/scss/partials/components/_languageswitch.scss | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/assets/scss/partials/components/_languageswitch.scss b/assets/scss/partials/components/_languageswitch.scss
index 38d9a98..df47877 100644
--- a/assets/scss/partials/components/_languageswitch.scss
+++ b/assets/scss/partials/components/_languageswitch.scss
@@ -19,7 +19,7 @@
}
border-radius: 5px;
position: absolute;
- top: 40px;
+ top: 32px;
}
&-item {
@@ -29,12 +29,22 @@
background: transparent;
display: block;
line-height: 1;
- padding: 0.5rem 0.75rem 0.5rem 0;
+ bottom: 0;
text-align: center;
white-space: nowrap;
+ padding: 20px 0;
+
+ &:last-child {
+ padding-bottom: 0;
+ }
@include desktop {
- padding: 1.2rem;
+ $p-desktop: 12px;
+ padding: $p-desktop;
+
+ &:last-child {
+ padding-bottom: $p-desktop;
+ }
}
}
}
@@ -51,7 +61,6 @@
content: '';
border-radius: 2px 0px 0px 0px;
height: 14px;
- bottom: 0px;
left: calc(50% / 2);
overflow: hidden;
position: absolute;
--
Gitblit v1.10.0