fix: Common fixed before release, b=(no-bug), c=tabs, workspaces

This commit is contained in:
mr. m
2025-05-01 20:51:20 +02:00
parent 0f57148418
commit 6250e9dfb2
3 changed files with 18 additions and 6 deletions

View File

@@ -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) {

View File

@@ -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);
}