Fix CSS regressions breaking the native app hole punch
Regressions introduced in e0212ca4b9
This commit is contained in:
parent
848ff5fd52
commit
1d0337285a
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue