From 82af721461668d97d0afaeb0ad1365634c59248b Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 3 Feb 2019 11:36:04 +0200 Subject: [PATCH] Better handle status vertical position --- chrome/status_inside_urlbar.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/chrome/status_inside_urlbar.css b/chrome/status_inside_urlbar.css index 799177b..8e466b7 100644 --- a/chrome/status_inside_urlbar.css +++ b/chrome/status_inside_urlbar.css @@ -9,8 +9,14 @@ width: 100%; height: 100%; pointer-events:none; - background: -moz-element(#statuspanel) left calc(100% - var(--toolbarbutton-outer-padding)) no-repeat !important; + background-position: left 2px; + background-repeat: no-repeat; + background-image: -moz-element(#statuspanel); } + +:root[uidensity="compact"] #urlbar .urlbar-input-box::after{ background-position-y: 0px } +:root[uidensity="touch"] #urlbar .urlbar-input-box::after{ background-position-y: 3px } + /* Hide the status ovelay when urlbar is hovered */ #urlbar:hover .urlbar-input-box::after{ visibility: hidden } @@ -19,7 +25,7 @@ } #statuspanel-inner > #statuspanel-label{ - height:23px; + height:3em; min-width: 1000px; background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8)) !important; border: none !important;