mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-25 14:16:10 +00:00
feat: Glance preview should not take the full height of the container, p=#10886, c=glance
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user