From d1dac8695caa21f68820bb6f7bb92715a996a278 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 15 Sep 2022 15:56:40 +0200 Subject: [PATCH] LibWeb: Don't set initial font+color on both HTML and BODY elements It's enough to set it on the HTML element. That way, it doesn't get reset in content that sets its own font on HTML but not on BODY. --- Userland/Libraries/LibWeb/CSS/Default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css index a08e18690ab..9d37796673f 100644 --- a/Userland/Libraries/LibWeb/CSS/Default.css +++ b/Userland/Libraries/LibWeb/CSS/Default.css @@ -1,4 +1,4 @@ -html, body { +html { font-family: sans-serif; color: -libweb-palette-base-text; }