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