mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 07:14:24 +01:00
chore(right_pane): align collapse icon with menu item
This commit is contained in:
parent
cd49c36529
commit
bc8c852a4d
@ -8,17 +8,22 @@ body.experimental-feature-new-layout #right-pane {
|
||||
border-radius: 0;
|
||||
|
||||
.card-header {
|
||||
padding: 0;
|
||||
padding: 1px 0 0 0;
|
||||
cursor: pointer;
|
||||
justify-content: flex-start;
|
||||
--icon-button-size: 26px;
|
||||
|
||||
.card-header-title {
|
||||
padding-inline: 0.5em;
|
||||
padding-inline: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.card-header-buttons {
|
||||
transform: none;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
@ -48,9 +48,7 @@ export default function RightPanelWidget({ id, title, buttons, children, contain
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Icon
|
||||
icon="bx bx-chevron-down"
|
||||
/>
|
||||
<ActionButton icon="bx bx-chevron-down" text="" />
|
||||
<div class="card-header-title">{title}</div>
|
||||
<div class="card-header-buttons">
|
||||
{buttons}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user