diff --git a/src/components/CollapsiblePanel.module.css b/src/components/CollapsiblePanel.module.css index f4eb26658..9430ba2cc 100644 --- a/src/components/CollapsiblePanel.module.css +++ b/src/components/CollapsiblePanel.module.css @@ -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;