Don't overlap other pane headers

This commit is contained in:
Frank Noirot
2024-02-22 12:44:50 -05:00
parent 42ad854aee
commit c208227de0

View File

@ -49,10 +49,14 @@
TODO: make this logic flexible for if the panel is on the right side of the screen.
*/
.panel[open]::before {
@apply absolute -inset-4 -right-1 z-0;
@apply absolute -inset-4 -top-2 -right-1 z-0;
@apply content-[''];
}
.panel[open]:first-of-type::before {
@apply -top-4;
}
.panel[open] + .panel[open],
.panel[open]:first-of-type {
@apply mt-0;