From c6742f553373ecb1e882b173d577ab65a5ace4b7 Mon Sep 17 00:00:00 2001 From: d11n Date: Sun, 19 Mar 2023 08:44:23 +0100 Subject: [PATCH] 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. --- BTCPayServer/wwwroot/checkout-v2/checkout.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/checkout-v2/checkout.css b/BTCPayServer/wwwroot/checkout-v2/checkout.css index 12e88a31e..aa3c4e41e 100644 --- a/BTCPayServer/wwwroot/checkout-v2/checkout.css +++ b/BTCPayServer/wwwroot/checkout-v2/checkout.css @@ -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);