From ad1b3df74ef2fbb319db7c4c79ef852c7fbfbf5a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 29 Mar 2026 19:36:58 +0300 Subject: [PATCH] fix(llm): sidebar not collapsing properly --- .../src/widgets/sidebar/SidebarChat.css | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/client/src/widgets/sidebar/SidebarChat.css b/apps/client/src/widgets/sidebar/SidebarChat.css index 42c6a94834..bc52434405 100644 --- a/apps/client/src/widgets/sidebar/SidebarChat.css +++ b/apps/client/src/widgets/sidebar/SidebarChat.css @@ -149,22 +149,21 @@ cursor: not-allowed; } -/* Make the widget grow to fill available space */ -.widget.grow { +/* Make the sidebar chat widget grow to fill available space when expanded */ +.widget.grow:not(.collapsed) { + min-height: 0; + display: flex; + flex-direction: column; +} + +.widget.grow:not(.collapsed) .body-wrapper { flex: 1; min-height: 0; display: flex; flex-direction: column; } -.widget.grow .body-wrapper { - flex: 1; - min-height: 0; - display: flex; - flex-direction: column; -} - -.widget.grow .card-body { +.widget.grow:not(.collapsed) .card-body { flex: 1; min-height: 0; overflow: hidden;