web/LanguageDropdown: fix missing text in firefox & small font size in safari

This commit is contained in:
wukko 2024-07-08 12:49:27 +06:00
parent bad7e3307d
commit 862366b5c5
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -90,9 +90,10 @@
gap: calc(var(--padding) / 2);
}
.selector-current {
font-size: 14px;
font-weight: 500;
.selector-current,
.selector select {
font-size: 13px;
font-weight: 400;
}
.right-side :global(svg) {
@ -107,12 +108,16 @@
appearance: initial;
width: 100%;
height: 100%;
font-size: 0;
background: none;
border: none;
left: 0;
border-radius: var(--border-radius);
cursor: pointer;
color: transparent;
text-align: right;
/* safari fix */
text-align-last: right;
}
@media (hover: hover) {