Fix CSS regressions breaking the native app hole punch

Regressions introduced in e0212ca4b9
This commit is contained in:
Keavon Chambers 2026-04-04 07:17:55 -07:00
parent 848ff5fd52
commit 1d0337285a
2 changed files with 14 additions and 14 deletions

View File

@ -473,11 +473,11 @@
padding-bottom: 4px;
}
}
}
// Needed for the viewport hole punch on desktop
.viewport-hole-punch &.document-panel,
.viewport-hole-punch &.document-panel .panel-body:not(:has(.welcome-panel)) {
background: none;
}
// Needed for the viewport hole punch on desktop
.viewport-hole-punch .panel.document-panel,
.viewport-hole-punch .panel.document-panel .panel-body:not(:has(.welcome-panel)) {
background: none;
}
</style>

View File

@ -265,15 +265,15 @@
cursor: ew-resize;
}
}
}
// Needed for the viewport hole punch on desktop
.viewport-hole-punch & .workspace-grid-subdivision:has(.panel.document-panel)::after {
content: "";
position: absolute;
inset: 6px;
border-radius: 6px;
box-shadow: 0 0 0 calc(100vw + 100vh) var(--color-2-mildblack);
z-index: -1;
}
// Needed for the viewport hole punch on desktop
.viewport-hole-punch .workspace .workspace-grid-subdivision:has(.panel.document-panel)::after {
content: "";
position: absolute;
inset: 6px;
border-radius: 6px;
box-shadow: 0 0 0 calc(100vw + 100vh) var(--color-2-mildblack);
z-index: -1;
}
</style>