Language selector: Ensure correct font-size (#4761)

* Language selector: Ensure correct font-size

Fixes the cut-off text on iOS, because somehow iOS uses a larger font-size by default.

* Fix select background color

Webkit-based browsers displayed transparent in a weird way.
This commit is contained in:
d11n 2023-03-19 08:44:23 +01:00 committed by GitHub
parent cb44591a47
commit c6742f5533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,10 +179,11 @@ section dl > div dd {
#DefaultLang {
width: calc(var(--text-width, 110px) + 3rem);
color: var(--btcpay-body-text-muted);
background-color: transparent;
background-color: var(--btcpay-body-bg);
box-shadow: none;
border: none;
cursor: pointer;
font-size: var(--btcpay-body-font-size);
}
#DefaultLang:hover {
color: var(--btcpay-body-text-hover);