mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/LanguageDropdown: fix missing text in firefox & small font size in safari
This commit is contained in:
parent
bad7e3307d
commit
862366b5c5
1 changed files with 9 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue