From 6902b8452b4d96801b15e21991c226882f79a319 Mon Sep 17 00:00:00 2001 From: Nachtalb Date: Tue, 17 Mar 2020 14:28:46 +0100 Subject: [PATCH] Fix position of the navbar items Some elements are wrapped in a div which doesn't have the same font-size as the elements in it. And because the margin is set in em it is relative to the font size. This resulted in a 1px difference between the margins causing it to not be aligned in some zoom levels. --- plonetheme/onegov/resources/sass/components/menues.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/plonetheme/onegov/resources/sass/components/menues.scss b/plonetheme/onegov/resources/sass/components/menues.scss index 1b0bfa4..266990a 100644 --- a/plonetheme/onegov/resources/sass/components/menues.scss +++ b/plonetheme/onegov/resources/sass/components/menues.scss @@ -268,6 +268,7 @@ body.template-folder_contents { margin-top: .5em; vertical-align: middle; display: inline-block; + font-size: 12px; } .pat-structure .navbar > a.btn,