File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
apps/dashboard/src/app/nebula-app/(app)/chat/history Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -175,9 +175,14 @@ function SessionCard(props: {
175175 } ) ;
176176
177177 return (
178- < div className = "overflow-hidden rounded-lg border bg-muted/50 p-4" >
178+ < div className = "relative overflow-hidden rounded-lg border bg-muted/50 p-4" >
179179 < h3 className = "line-clamp-3 break-all" >
180- { props . session . title || "Untitled" }
180+ < Link
181+ className = "before:absolute before:inset-0"
182+ href = { `/chat/${ props . session . id } ` }
183+ >
184+ { props . session . title || "Untitled" }
185+ </ Link >
181186 </ h3 >
182187 < div className = "mt-4 flex items-center justify-between gap-6 border-t pt-3" >
183188 < p className = "text-muted-foreground text-sm" >
@@ -189,7 +194,10 @@ function SessionCard(props: {
189194
190195 < Popover >
191196 < PopoverTrigger asChild >
192- < Button className = "h-auto w-auto p-1.5" variant = "ghost" >
197+ < Button
198+ className = "relative z-10 h-auto w-auto p-1.5"
199+ variant = "ghost"
200+ >
193201 < EllipsisIcon className = "size-4 text-muted-foreground" />
194202 </ Button >
195203 </ PopoverTrigger >
You can’t perform that action at this time.
0 commit comments