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
fix(sidebar): table of contents & pages not scrollable
Elian Doranef7d123c956d
diff --git a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx b/apps/client/src/widgets/sidebar/RightPanelWidget.tsxindex 604b39e7c4..3b05f24627 100644--- a/apps/client/src/widgets/sidebar/RightPanelWidget.tsx+++ b/apps/client/src/widgets/sidebar/RightPanelWidget.tsx@@ -30,6 +30,7 @@ export default function RightPanelWidget({ id, title, buttons, children, containreturn (<divref={containerRef}+ id={id}class={clsx("card widget", {collapsed: !expanded,growdiff --git a/apps/client/src/widgets/sidebar/SidebarChat.css b/apps/client/src/widgets/sidebar/SidebarChat.cssindex ee3c16e000..e664db1702 100644--- a/apps/client/src/widgets/sidebar/SidebarChat.css+++ b/apps/client/src/widgets/sidebar/SidebarChat.css@@ -50,7 +50,7 @@}/* Make the sidebar chat widget grow to fill available space when expanded */-#right-pane .widget.grow:not(.collapsed) {+#right-pane #sidebar-chat.widget.grow:not(.collapsed) {flex: 1;flex-shrink: 1; /* Override flex-shrink: 0 from main styles */min-height: 0;@@ -58,7 +58,7 @@flex-direction: column;}-#right-pane .widget.grow:not(.collapsed) .body-wrapper {+#right-pane #sidebar-chat.widget.grow:not(.collapsed) .body-wrapper {flex: 1;min-height: 0;display: flex;@@ -66,7 +66,7 @@overflow: hidden; /* Override overflow: auto from main styles */}-#right-pane .widget.grow:not(.collapsed) .card-body {+#right-pane #sidebar-chat.widget.grow:not(.collapsed) .card-body {flex: 1;min-height: 0;overflow: hidden; /* Override overflow: auto - let child handle scrolling */