From e5eff553fd4e33750157232a262d6430a7610e87 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sat, 30 Nov 2024 06:48:06 +0900 Subject: [PATCH] Fix: URLBar - Position at touch density #1035 --- css/leptonChrome.css | 10 ---------- css/leptonChromeESR.css | 5 ----- src/padding/_urlbar.scss | 5 ----- 3 files changed, 20 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index fb5cda49..60a9e8f9 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -4415,11 +4415,6 @@ :root:not([uidensity="compact"]) #urlbar[breakout][breakout-extend-disabled][open] { height: auto !important; } - :root[uidensity="touch"] #urlbar[breakout] { - top: calc( - (var(--urlbar-toolbar-height, var(--urlbar-container-height)) - var(--urlbar-height)) / 2 + 1px - ) !important; - } /* spread menu */ :root:not([uidensity]) .urlbarView-row { padding-block: 1px !important; /* Original: 2px */ @@ -18502,11 +18497,6 @@ :root:not([uidensity="compact"]) #urlbar[breakout][breakout-extend-disabled][open] { height: auto !important; } - :root[uidensity="touch"] #urlbar[breakout] { - top: calc( - (var(--urlbar-toolbar-height, var(--urlbar-container-height)) - var(--urlbar-height)) / 2 + 1px - ) !important; - } /* spread menu */ :root:not([uidensity]) .urlbarView-row { padding-block: 1px !important; /* Original: 2px */ diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index c0277870..3172b169 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -4760,11 +4760,6 @@ :root:not([uidensity="compact"]) #urlbar[breakout][breakout-extend-disabled][open] { height: auto !important; } - :root[uidensity="touch"] #urlbar[breakout] { - top: calc( - (var(--urlbar-toolbar-height, var(--urlbar-container-height)) - var(--urlbar-height)) / 2 + 1px - ) !important; - } /* spread menu */ :root:not([uidensity]) .urlbarView-row { padding-block: 1px !important; /* Original: 2px */ diff --git a/src/padding/_urlbar.scss b/src/padding/_urlbar.scss index eadc4894..eecbbd42 100644 --- a/src/padding/_urlbar.scss +++ b/src/padding/_urlbar.scss @@ -24,11 +24,6 @@ height: auto !important; } } - :root[uidensity="touch"] & { - // Fallback #881 - top: calc((var(--urlbar-toolbar-height, var(--urlbar-container-height)) - - var(--urlbar-height)) / 2 + 1px) !important; - } } /* spread menu */