From 0101d26b310cca93e0a052b8be17b2857f3a55cd Mon Sep 17 00:00:00 2001 From: Alexander Eble <35292572+alexanderdavide@users.noreply.github.com> Date: Mon, 20 Dec 2021 08:43:20 +0100 Subject: [PATCH] Fix Language Picker Styling on Mobile (#276) * refactor: reduce padding of language picker desktop * fix: rework proportions of language picker styling on mobile --- assets/css/style.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 6e7e756e..c0c8ddb3 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -311,17 +311,13 @@ Language Switch position: relative; text-align: left; background: transparent; - padding: 15px 15px; - padding-bottom: 0; + padding: 12px; z-index: 2; color: #3c3c3c; display: block; } -.sl-nav li .dropdown li:last-of-type { - padding-bottom: 15px; -} + .sl-nav li .dropdown li span { - font-size: 1.3rem; white-space: nowrap; } .sl-nav li .dropdown li span.active { @@ -1283,7 +1279,7 @@ a.btn { position: relative; text-transform: uppercase; text-align: center; - font-size: 1.3em; + font-size: 1.6rem; } header .nav__list ul { @@ -1374,7 +1370,7 @@ a.btn { .sl-nav li .dropdown li { text-align: center; - padding: initial; + padding: 0.5rem 0.75rem; } .sl-nav li .dropdown li span {