From bae98700e1620b947b3f5489a12e3b3b1e4ae3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20Kopeck=C3=BD?= Date: Tue, 2 Aug 2022 11:20:15 +0100 Subject: [PATCH] Make d2h-d-none override visibility Since `.d2h-d-none` is the first rule in the file, other rules with the same specificity override it, e.g. line 102 in `.d2h-files-diff`. This means hiding no longer works. This commit fixes that; alternatively, the `.d2h-d-none` rule should be moved to the end of the file if you don't like `!important`. --- src/ui/css/diff2html.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/css/diff2html.css b/src/ui/css/diff2html.css index 36a6f50..7e6ea8b 100644 --- a/src/ui/css/diff2html.css +++ b/src/ui/css/diff2html.css @@ -6,7 +6,7 @@ */ .d2h-d-none { - display: none; + display: none !important; } .d2h-wrapper {