Skip to content

Commit 37bade2

Browse files
metiu1claude
andcommitted
Fix user bubble width: question text no longer wraps char-by-char
The user-col wrapper made the bubble's max-width:75% resolve against a shrunk column, collapsing it to ~1 char ('ciao' shown vertically). Now the column is the 75% container and the bubble fills it (max-width:100%). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 72647d3 commit 37bade2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vortelio/internal/server/ui.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@
175175
white-space: pre-wrap; word-break: break-word;
176176
color: var(--text);
177177
}
178-
.user-col { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; max-width: 100%; }
178+
.user-col { display: flex; flex-direction: column; align-items: flex-end; max-width: 75%; min-width: 0; }
179+
.user-col .bubble { max-width: 100%; }
179180
.msg-meta { font-size: 11px; color: var(--text3); margin-top: 8px; font-family: var(--mono); }
180181
.msg-actions { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; opacity: 0; transition: opacity .15s; }
181182
.msg-group:hover .msg-actions { opacity: 1; }

0 commit comments

Comments
 (0)