Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(right_pane): align collapse icon with menu item
Elian Doranbc8c852a4d6e
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.css b/apps/client/src/widgets/sidebar/RightPanelContainer.cssindex 7e3072d42f..ce33b84303 100644--- a/apps/client/src/widgets/sidebar/RightPanelContainer.css+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.css@@ -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;}diff --git a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx b/apps/client/src/widgets/sidebar/RightPanelWidget.tsxindex 42d569d648..3c3c600d7c 100644--- a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelWidget.tsx@@ -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}