From 52da58a2944d533921b7348b1b259a80f6e2acd9 Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Wed, 4 Nov 2020 11:44:59 +0000 Subject: [PATCH] Adjust body padding-top for taskbar taskbar is placed *above* content using a `padding-top: 3em;` rule Currently, in regular case, padding-top is too large and leaves ~4/5px between the taskbar and the content. This fixes it by using a `calc()` rule to eliminate this extra space --- static/skin/taskbar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/skin/taskbar.css b/static/skin/taskbar.css index 101787da9..74f16bb5b 100644 --- a/static/skin/taskbar.css +++ b/static/skin/taskbar.css @@ -124,7 +124,7 @@ label[for=kiwixsearchbox] { } body { - padding-top: 3em !important; + padding-top: calc(3em - 5px) !important; } /* Try to fix buggy stuff in jquery-ui autocomplete */