From 21bdddcfbe6ae85c15a4544fe5fd751b7e94d960 Mon Sep 17 00:00:00 2001 From: Mary <148872143+mary-ext@users.noreply.github.com> Date: Fri, 1 Mar 2024 06:30:17 +0700 Subject: Reset button/input font set by UA (#3038) * fix: reset button/input fonts set by UA * fix: inherit line-height as well --- web/index.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'web') diff --git a/web/index.html b/web/index.html index 78090591c..8f2275a7f 100644 --- a/web/index.html +++ b/web/index.html @@ -48,6 +48,12 @@ scrollbar-gutter: stable both-edges; } + /* Buttons and inputs have a font set by UA, so we'll have to reset that */ + button, input, textarea { + font: inherit; + line-height: inherit; + } + /* Color theming */ /* Default will always be white */ :root { -- cgit 1.4.1