web/LanguageDropdown: proper component style

you can't toggle the "select" element programmatically, so i had to come up with a workaround. it works and looks beautifully!

also fixed buggy overflow in SettingsToggle component.
This commit is contained in:
wukko
2024-07-08 00:18:25 +06:00
parent 35a8628cc1
commit bad7e3307d
4 changed files with 115 additions and 16 deletions

View File

@@ -50,6 +50,7 @@
display: flex;
flex-direction: column;
gap: 10px;
overflow: hidden;
}
.toggle-container {
@@ -63,5 +64,6 @@
transform: none;
padding: calc(var(--switcher-padding) * 2) 16px;
border-radius: var(--border-radius);
overflow: scroll;
}
</style>