Skip to content

Commit

Permalink
Fix Language Picker Styling on Mobile (#276)
Browse files Browse the repository at this point in the history
* refactor: reduce padding of language picker desktop

* fix: rework proportions of language picker styling on mobile
  • Loading branch information
alexanderdavide authored Dec 20, 2021
1 parent b87c27c commit 0101d26
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 0101d26

Please sign in to comment.