replace uses of --urlbar-toolbar-height with --urlbar-container-height

This commit is contained in:
MrOtherGuy
2024-05-16 04:56:03 +03:00
parent f28be04e06
commit b471f33134
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ See the above repository for updates as well as full license text. */
margin-inline-start: 0px !important;
width: 100% !important;
left: 0 !important;
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2 ) !important;
top: calc((var(--urlbar-container-height) - var(--urlbar-height)) / 2 ) !important;
}
#urlbar[breakout]:not([open]){
bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
bottom: calc((var(--urlbar-container-height) - var(--urlbar-height)) / 2) !important;
}
.urlbarView{
margin-inline: 0 !important;
+1 -1
View File
@@ -26,7 +26,7 @@ See the above repository for updates as well as full license text. */
}
#urlbar{
--urlbar-toolbar-height: var(--uc-multirow-toolbar-height) !important;
--urlbar-container-height: var(--uc-multirow-toolbar-height) !important;
}
#nav-bar-customization-target > [flex]{ flex-grow: 2 }
+1 -1
View File
@@ -69,7 +69,7 @@ See the above repository for updates as well as full license text. */
display: none !important;
}
/* Fix incorrect vertical alignment with megabar */
#urlbar[breakout]{ --urlbar-toolbar-height: var(--multirow-toolbar-height) !important; }
#urlbar[breakout]{ --urlbar-container-height: var(--multirow-toolbar-height) !important; }
/* Fix customization view */
#customization-panelWrapper > .panel-arrowbox > .panel-arrow{ margin-inline-end: initial !important; }
@@ -43,7 +43,7 @@ Window controls will be all wrong without it
padding-block: 0 !important;
}
:root[uidensity="compact"] #urlbar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
--urlbar-container-height: var(--uc-toolbar-height) !important;
}
/* prevent urlbar overflow on narrow windows */
+1 -1
View File
@@ -36,7 +36,7 @@ Window controls will be all wrong without it
padding-block: 0 !important;
}
:root[uidensity="compact"] #urlbar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
--urlbar-container-height: var(--uc-toolbar-height) !important;
}
/* prevent urlbar overflow on narrow windows */
+1 -1
View File
@@ -39,7 +39,7 @@ See the above repository for updates as well as full license text. */
left: 0 !important;
width: 100vw !important;
border-width: 1px 0;
top: var(--urlbar-toolbar-height);
top: var(--urlbar-container-height);
background-color: var(--toolbar-field-focus-background-color, inherit);
z-index: 4;
box-shadow: 0 1px 4px rgba(0,0,0,.05);