File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 23142314 .max-h-\[calc\(100vh-6rem\)\] {
23152315 max-height : calc (100vh - 6rem );
23162316 }
2317+ .min-h-0 {
2318+ min-height : calc (var (--spacing ) * 0 );
2319+ }
23172320 .min-h-\[1\.5rem\] {
23182321 min-height : 1.5rem ;
23192322 }
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ pub fn CodeIntelPanel(
111111 let insights_scroll_container = NodeRef :: < Div > :: new ( ) ;
112112
113113 view ! {
114- <aside class="w-80 flex-shrink-0 bg-white/95 dark:bg-slate-950/70 text-slate-900 dark:text-slate-100 rounded-lg shadow border border-slate-200 dark:border-slate-800 p-4 sticky top-20 backdrop-blur" >
114+ <aside class="w-80 flex-shrink-0 flex flex-col max-h-[calc(100vh-6rem)] bg-white/95 dark:bg-slate-950/70 text-slate-900 dark:text-slate-100 rounded-lg shadow border border-slate-200 dark:border-slate-800 p-4 sticky top-20 backdrop-blur" >
115115 <h2 class="text-xl font-semibold mb-4 text-slate-900 dark:text-white" >
116116 "Code Intelligence"
117117 </h2>
@@ -139,7 +139,7 @@ pub fn CodeIntelPanel(
139139 } )
140140 } }
141141 </div>
142- <div class="pr-1" node_ref=insights_scroll_container>
142+ <div class="pr-1 flex-1 min-h-0 overflow-y-auto " node_ref=insights_scroll_container>
143143 <div class="space-y-4" >
144144 <div class="flex flex-col gap-1" >
145145 <label class="text-xs uppercase tracking-wide text-slate-600 dark:text-slate-300" >
You can’t perform that action at this time.
0 commit comments