Skip to content

Commit

Permalink
fix(language-switcher): enhancing the possible languages (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Nov 7, 2022
1 parent f35721e commit f13193b
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,23 @@

// TODO: This is an enhancement for more languages, but obviously doesn't scale that nicely and would need some rework
&:not([aria-selected="true"]) ~ li:not([aria-selected="true"]) {
top: to-rem($pxValue: 108);
top: to-rem($pxValue: 54 * 2);

& ~ li:not([aria-selected="true"]) {
top: to-rem($pxValue: 54 * 3);

& ~ li:not([aria-selected="true"]) {
top: to-rem($pxValue: 54 * 4);

& ~ li:not([aria-selected="true"]) {
top: to-rem($pxValue: 54 * 5);

& ~ li:not([aria-selected="true"]) {
top: to-rem($pxValue: 54 * 6);
}
}
}
}
}
@media screen and (min-width: 1024px) {
top: to-rem($pxValue: 56);
Expand Down

0 comments on commit f13193b

Please sign in to comment.