chore(right_pane): align collapse icon with menu item

This commit is contained in:
Elian Doran 2025-12-20 11:48:47 +02:00
parent cd49c36529
commit bc8c852a4d
No known key found for this signature in database
2 changed files with 8 additions and 5 deletions

View File

@ -8,17 +8,22 @@ body.experimental-feature-new-layout #right-pane {
border-radius: 0; border-radius: 0;
.card-header { .card-header {
padding: 0; padding: 1px 0 0 0;
cursor: pointer; cursor: pointer;
justify-content: flex-start; justify-content: flex-start;
--icon-button-size: 26px; --icon-button-size: 26px;
.card-header-title { .card-header-title {
padding-inline: 0.5em; padding-inline: 0;
flex-grow: 1; flex-grow: 1;
} }
} }
.card-header-buttons {
transform: none;
top: 0;
}
&:last-of-type { &:last-of-type {
border-bottom: 0; border-bottom: 0;
} }

View File

@ -48,9 +48,7 @@ export default function RightPanelWidget({ id, title, buttons, children, contain
} }
}} }}
> >
<Icon <ActionButton icon="bx bx-chevron-down" text="" />
icon="bx bx-chevron-down"
/>
<div class="card-header-title">{title}</div> <div class="card-header-title">{title}</div>
<div class="card-header-buttons"> <div class="card-header-buttons">
{buttons} {buttons}