Don't overlap other pane headers
This commit is contained in:
@ -49,10 +49,14 @@
|
|||||||
TODO: make this logic flexible for if the panel is on the right side of the screen.
|
TODO: make this logic flexible for if the panel is on the right side of the screen.
|
||||||
*/
|
*/
|
||||||
.panel[open]::before {
|
.panel[open]::before {
|
||||||
@apply absolute -inset-4 -right-1 z-0;
|
@apply absolute -inset-4 -top-2 -right-1 z-0;
|
||||||
@apply content-[''];
|
@apply content-[''];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel[open]:first-of-type::before {
|
||||||
|
@apply -top-4;
|
||||||
|
}
|
||||||
|
|
||||||
.panel[open] + .panel[open],
|
.panel[open] + .panel[open],
|
||||||
.panel[open]:first-of-type {
|
.panel[open]:first-of-type {
|
||||||
@apply mt-0;
|
@apply mt-0;
|
||||||
|
|||||||
Reference in New Issue
Block a user