Fix: URLBar - Position at touch density #1035

This commit is contained in:
alstjr7375 2024-11-30 06:48:06 +09:00
parent 83f4603bc1
commit e5eff553fd
3 changed files with 0 additions and 20 deletions

10
css/leptonChrome.css generated
View file

@ -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 */

View file

@ -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 */

View file

@ -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 */