mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 15:24: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;
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user