fix: Fixed aligment issues with the urlbar and workspace name, b=no-bug, c=common, workspaces

This commit is contained in:
mr. m
2025-08-25 19:51:46 +02:00
parent d2a6e18452
commit a3adc1a33e
4 changed files with 9 additions and 8 deletions

View File

@@ -203,7 +203,7 @@
}, },
{ {
duration: 0.35, duration: 0.35,
delay: 0.1, delay: 0.08,
} }
), ),
]).then(() => { ]).then(() => {

View File

@@ -129,7 +129,7 @@ var gZenUIManager = {
}, },
updateTabsToolbar() { updateTabsToolbar() {
const kUrlbarHeight = 440; const kUrlbarHeight = 336;
gURLBar.textbox.style.setProperty( gURLBar.textbox.style.setProperty(
'--zen-urlbar-top', '--zen-urlbar-top',
`${window.innerHeight / 2 - Math.max(kUrlbarHeight, gURLBar.textbox.getBoundingClientRect().height) / 2}px` `${window.innerHeight / 2 - Math.max(kUrlbarHeight, gURLBar.textbox.getBoundingClientRect().height) / 2}px`

View File

@@ -209,7 +209,7 @@ body > #confetti {
border-radius: var(--zen-native-content-radius); border-radius: var(--zen-native-content-radius);
background: radial-gradient( background: radial-gradient(
ellipse 100% 50% at center var(--background-top), ellipse 100% 50% at center var(--background-top),
rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0.7) 80%,
transparent transparent
) )
border-box; border-box;

View File

@@ -204,6 +204,12 @@
left: -4px; left: -4px;
pointer-events: none; pointer-events: none;
} }
@media (-moz-platform: windows) {
& img {
margin-bottom: -4px;
}
}
} }
.zen-current-workspace-indicator-name { .zen-current-workspace-indicator-name {
@@ -215,11 +221,6 @@
font-weight: 600; font-weight: 600;
align-items: center; align-items: center;
margin: 0; margin: 0;
max-height: 16px;
@media (-moz-platform: windows) {
margin-top: -3px;
}
} }
.zen-workspaces-actions { .zen-workspaces-actions {