summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-06-08 19:53:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-06-08 19:53:27 +0200
commitd8d258e1ffb529ee3b90c51358e05c0b7b040b9c (patch)
tree0080aaf1d793d56d55deacfc85e691ef7aef1821
parentec7f8d1850b808d8e5ccc100531f7d674c5a5604 (diff)
Fix language dropdown
-rw-r--r--src/style.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/style.css b/src/style.css
index f98515c..84a9387 100644
--- a/src/style.css
+++ b/src/style.css
@@ -175,7 +175,6 @@ nav li a, #lang-selected {
}
nav li {
- position: relative;
background-color: var(--secondary-color);
}
@@ -198,11 +197,15 @@ nav li:hover a, li:hover > #lang-selected {
nav ul > * {
flex-grow: 1;
text-align: center;
+ overflow-y: visible;
+ height: auto;
}
#lang-dd {
max-height: 50vh;
overflow: auto;
+ right: 0;
+ width: 20%;
}
.unavailable {