about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorMary <148872143+mary-ext@users.noreply.github.com>2024-03-01 06:30:17 +0700
committerGitHub <noreply@github.com>2024-02-29 17:30:17 -0600
commit21bdddcfbe6ae85c15a4544fe5fd751b7e94d960 (patch)
treeac6772c4437e0f942ee012210d8b9674075dd947 /web
parent04d4c9779f92812903ee2f76b28a9e8937fdbad3 (diff)
downloadvoidsky-21bdddcfbe6ae85c15a4544fe5fd751b7e94d960.tar.zst
Reset button/input font set by UA (#3038)
* fix: reset button/input fonts set by UA

* fix: inherit line-height as well
Diffstat (limited to 'web')
-rw-r--r--web/index.html6
1 files changed, 6 insertions, 0 deletions
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 {