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

@@ -187,7 +187,7 @@
pointer-events: none;
}
:global(button) {
:global(button, .button) {
display: flex;
align-items: center;
justify-content: center;
@@ -208,7 +208,7 @@
z-index: 1;
}
:global(button:active) {
:global(button:active, .button:active) {
background-color: var(--button-hover);
}