Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: handle long wrapping titles in AI chat document list (#13206)

shamoonafb19fe63745
diff --git a/src-ui/src/app/components/chat/chat/chat.component.html b/src-ui/src/app/components/chat/chat/chat.component.html
index b3bc20ddf..19859063f 100644
--- a/src-ui/src/app/components/chat/chat/chat.component.html
+++ b/src-ui/src/app/components/chat/chat/chat.component.html
@@ -16,7 +16,7 @@
@if (message.role === 'assistant' && message.references?.length) {
<div class="chat-references list-group mt-3">
@for (reference of message.references; track reference.id) {
- <a class="list-group-item list-group-item-action text-primary" [routerLink]="['/documents', reference.id]">
+ <a class="list-group-item list-group-item-action d-flex text-primary text-break" [routerLink]="['/documents', reference.id]">
<i-bs width="0.9em" height="0.9em" name="file-text" class="me-1"></i-bs><span>{{ reference.title }}</span>
</a>
}