From 2f3ab157e9c9abc15264656d5730db948cd4f457 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 10 Dec 2020 10:43:36 +0200 Subject: [PATCH] Remove unnecessary extra margin from bottom of urlbarview --- chrome/navbar_below_content.css | 4 ++-- chrome/toolbars_below_content.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/navbar_below_content.css b/chrome/navbar_below_content.css index 665ac1c..3ebbd5a 100644 --- a/chrome/navbar_below_content.css +++ b/chrome/navbar_below_content.css @@ -10,7 +10,7 @@ See the above repository for updates as well as full license text. */ } :root[uidensity="compact"]:not([inFullscreen]){ - --uc-bottom-toolbar-height: calc(29px + var(--toolbarbutton-outer-padding) ) + --uc-bottom-toolbar-height: calc(32px + var(--toolbarbutton-outer-padding) ) } #browser, @@ -33,6 +33,6 @@ See the above repository for updates as well as full license text. */ top: auto !important; } - #urlbar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; } + .urlbarView-body-inner{ border-top-style: none !important; } } \ No newline at end of file diff --git a/chrome/toolbars_below_content.css b/chrome/toolbars_below_content.css index e86328f..2dfe62f 100644 --- a/chrome/toolbars_below_content.css +++ b/chrome/toolbars_below_content.css @@ -30,7 +30,7 @@ See the above repository for updates as well as full license text. */ top: auto !important; } - #urlbar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; } + .urlbarView-body-inner{ border-top-style: none !important; } /* Yeah, removes window controls. Likely not wanted on bottom row */ #TabsToolbar > .titlebar-buttonbox-container{ display: none }