Skip to content

Commit 7e9ec0f

Browse files
committed
fix: Implement responsive line wrapping for model names on home page
- Changed model name display from truncate to break-words - Increased max-width from 100px to 200px to allow more text - This fixes issue mudler#8209 for responsive text wrapping on smaller screens Fixes: mudler#8209
1 parent b61536c commit 7e9ec0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/http/views/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h1 class="hero-title">How can I help you today?</h1>
499499
{{ range .ModelsConfig }}
500500
{{ if index $loadedModels .Name }}
501501
<span class="inline-flex items-center gap-1 text-[var(--color-text-secondary)] hover:text-[var(--color-text-primary)] transition-colors" data-loaded-model>
502-
<span class="truncate max-w-[100px]">{{.Name}}</span>
502+
<span class="break-words max-w-[200px]">{{.Name}}</span>
503503
<button
504504
@click="stopModel('{{.Name}}')"
505505
class="text-red-400/60 hover:text-red-400 transition-colors ml-0.5"

0 commit comments

Comments
 (0)