feat(ui): move sidebar section header outside content

This commit is contained in:
Brian McGee
2025-08-18 11:33:13 +01:00
parent 2d1828d088
commit d150c80854

View File

@@ -22,14 +22,12 @@ div.sidebar-body {
}
& > .item {
@apply py-3 px-1.5 bg-inv-4 rounded-md mb-4;
&:last-child {
@apply mb-0;
}
& > .header {
@apply flex mb-4 px-2;
@apply flex mb-2 px-2;
& > .trigger {
@apply inline-flex items-center justify-between w-full;
@@ -56,6 +54,8 @@ div.sidebar-body {
& > .content {
@apply overflow-hidden flex flex-col;
@apply py-3 px-1.5 bg-inv-4 rounded-md mb-4;
animation: slideAccordionUp 300ms cubic-bezier(0.87, 0, 0.13, 1);
&[data-expanded] {