From 4544b4874efb76630ecfcf998420afd127a9d674 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 12 Apr 2020 22:49:03 +0300 Subject: [PATCH] Use box-shadow instead of border for urlbar --- chrome/urlbar_full_width.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/chrome/urlbar_full_width.css b/chrome/urlbar_full_width.css index b4e5975..f13a2e6 100644 --- a/chrome/urlbar_full_width.css +++ b/chrome/urlbar_full_width.css @@ -8,16 +8,15 @@ #urlbar{ height: auto !important; width: auto !important; - border: 1px solid white; - border-color:var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)); + box-shadow: inset 0 0 0 1px var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)); background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8)); border-radius: var(--toolbarbutton-border-radius); } -#urlbar[focused]{ border-color: var(--lwt-toolbar-field-border-focus, highlight) } +#urlbar[focused]{ box-shadow: inset 0 0 0 1px var(--lwt-toolbar-field-border-focus, highlight); } .urlbarView{ - position: absolute !important; + position: fixed !important; margin: 0 !important; left: 0 !important; width: 100vw !important;