From bdc0bbbb4fd8cd6c5471efd53e343ceb93a63ec3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 11 Oct 2022 13:51:57 +0200 Subject: [PATCH] Respect font settings on input elements The browsers override these instead of using the normal inheritance. So make sure our global font settings are respected. --- app/styles/base.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/styles/base.css b/app/styles/base.css index 23679a00..6d6200a6 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -98,6 +98,11 @@ html { * ---------------------------------------- */ +input, select, textarea { + /* Respect standard font settings */ + font: inherit; +} + input:not([type]), input[type=date], input[type=datetime-local],