mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 11:28:11 +08:00
Fix CSS regressions breaking the native app hole punch
Regressions introduced in e0212ca4b9
This commit is contained in:
@@ -473,11 +473,11 @@
|
|||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Needed for the viewport hole punch on desktop
|
// Needed for the viewport hole punch on desktop
|
||||||
.viewport-hole-punch &.document-panel,
|
.viewport-hole-punch .panel.document-panel,
|
||||||
.viewport-hole-punch &.document-panel .panel-body:not(:has(.welcome-panel)) {
|
.viewport-hole-punch .panel.document-panel .panel-body:not(:has(.welcome-panel)) {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -265,15 +265,15 @@
|
|||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Needed for the viewport hole punch on desktop
|
// Needed for the viewport hole punch on desktop
|
||||||
.viewport-hole-punch & .workspace-grid-subdivision:has(.panel.document-panel)::after {
|
.viewport-hole-punch .workspace .workspace-grid-subdivision:has(.panel.document-panel)::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 6px;
|
inset: 6px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
box-shadow: 0 0 0 calc(100vw + 100vh) var(--color-2-mildblack);
|
box-shadow: 0 0 0 calc(100vw + 100vh) var(--color-2-mildblack);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user