feat: Glance preview should not take the full height of the container, p=#10886, c=glance

This commit is contained in:
mr. m
2025-10-20 20:35:12 +02:00
committed by GitHub
parent f8375a1155
commit b63cefa98b
2 changed files with 4 additions and 4 deletions

View File

@@ -988,7 +988,7 @@
if (!onTabClose) {
this.quickCloseGlance({ clearID: false });
}
this.browserWrapper.style.display = 'none';
this.overlay.style.display = 'none';
this.overlay.removeAttribute('fade-out');
this.browserWrapper.removeAttribute('animate');

View File

@@ -171,10 +171,10 @@
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
z-index: 0;
border-radius: var(--zen-native-inner-radius);
inset: 50%;
translate: -50% -50%;
top: 0%;
left: 50%;
translate: -50% 0%;
will-change: transform, opacity;
}