This repository was archived by the owner on Jul 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ export function Chat() {
33
33
</ BreadcrumbItem >
34
34
< BreadcrumbSeparator />
35
35
< BreadcrumbItem >
36
- < BreadcrumbPage > { extractTitleFromMessage ( title ) } </ BreadcrumbPage >
36
+ < BreadcrumbPage className = "truncate w-96" >
37
+ { extractTitleFromMessage ( title ) }
38
+ </ BreadcrumbPage >
37
39
</ BreadcrumbItem >
38
40
</ BreadcrumbList >
39
41
</ Breadcrumb >
Original file line number Diff line number Diff line change @@ -14,14 +14,15 @@ export function PromptList({ prompts }: { prompts: Prompt[] }) {
14
14
< h2 className = "font-bold text-sm text-gray-700 mb-2 mt-6" > { group } </ h2 >
15
15
< ul className = "space-y-2" >
16
16
{ prompts . map ( ( prompt ) => (
17
- < li key = { prompt . chat_id } className = "flex items-center p-1 " >
18
- < Link to = { `/prompt/${ prompt . chat_id } ` } >
19
- < p className = "text-gray-800 text-sm line-clamp-1 hover:text-gray-500" >
20
- { extractTitleFromMessage (
21
- prompt . question_answers ?. [ 0 ] . question . message ??
22
- `Prompt ${ prompt . conversation_timestamp } `
23
- ) }
24
- </ p >
17
+ < li key = { prompt . chat_id } className = "flex items-center p-1 w-full" >
18
+ < Link
19
+ to = { `/prompt/${ prompt . chat_id } ` }
20
+ className = "text-gray-800 text-sm truncate hover:text-gray-500"
21
+ >
22
+ { extractTitleFromMessage (
23
+ prompt . question_answers ?. [ 0 ] . question . message ??
24
+ `Prompt ${ prompt . conversation_timestamp } `
25
+ ) }
25
26
</ Link >
26
27
</ li >
27
28
) ) }
You can’t perform that action at this time.
0 commit comments