mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-21 09:12:27 +00:00
fix: Fixed aligment issues with the urlbar and workspace name, b=no-bug, c=common, workspaces
This commit is contained in:
@@ -203,7 +203,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
duration: 0.35,
|
duration: 0.35,
|
||||||
delay: 0.1,
|
delay: 0.08,
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
]).then(() => {
|
]).then(() => {
|
||||||
|
@@ -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`
|
||||||
|
@@ -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;
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user