mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-02 13:49:20 +00:00
fix: Common fixed before release, b=(no-bug), c=tabs, workspaces
This commit is contained in:
@@ -1942,7 +1942,12 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
} else {
|
||||
container.removeAttribute('hidden');
|
||||
}
|
||||
if (nextWorkspaceContextId !== workspaceContextId && offsetPixels && this.containerSpecificEssentials) {
|
||||
if (
|
||||
nextWorkspaceContextId !== workspaceContextId &&
|
||||
offsetPixels &&
|
||||
this.containerSpecificEssentials &&
|
||||
container.getAttribute('container') == nextWorkspaceContextId
|
||||
) {
|
||||
container.removeAttribute('hidden');
|
||||
// Animate from the currently selected workspace
|
||||
if (container.getAttribute('container') == workspaceContextId) {
|
||||
|
||||
@@ -460,7 +460,7 @@
|
||||
}
|
||||
|
||||
.zen-current-workspace-indicator {
|
||||
padding: calc(15px + var(--zen-toolbox-padding)) calc(4px + var(--tab-inline-padding));
|
||||
padding: calc(15px + var(--zen-toolbox-padding)) calc(4px + var(--tab-inline-padding) + var(--zen-toolbox-padding));
|
||||
font-weight: 600;
|
||||
position: absolute;
|
||||
max-height: var(--zen-workspace-indicator-height);
|
||||
@@ -479,8 +479,8 @@
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: var(--zen-toolbox-padding);
|
||||
left: calc(var(--zen-toolbox-padding) / 2);
|
||||
width: calc(100% - var(--zen-toolbox-padding));
|
||||
left: calc(var(--zen-toolbox-padding) + 2px);
|
||||
width: calc(100% - var(--zen-toolbox-padding) * 2 - 4px);
|
||||
height: calc(100% - var(--zen-toolbox-padding) * 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user