From 0ab9f5a72ded42ad182858d67dceff4ca5136c36 Mon Sep 17 00:00:00 2001 From: mooff Date: Mon, 23 Aug 2021 20:26:18 +0100 Subject: [PATCH] ui: Simplify style rules for body.plain in the composer Setting these rules on `body.plain *` is not needed: they will cascade quite happily on their own, with easier maintenance and readability for humans Also applies to rules whose values are unchanged from those on `body` - better to keep these DRY --- ui/composer-web-view.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ui/composer-web-view.css b/ui/composer-web-view.css index 462d5876..98809757 100644 --- a/ui/composer-web-view.css +++ b/ui/composer-web-view.css @@ -12,12 +12,8 @@ body { font-size: medium !important; } -body.plain, body.plain * { - font-family: monospace !important; - font-weight: normal; - font-style: normal; - font-size: medium !important; - color: black !important; +body.plain { + font-family: monospace; text-decoration: none; }