fix: enforce max-width hard wrapping in chat input and bubbles

This commit is contained in:
JOJO 2026-04-07 11:50:28 +08:00
parent 2b633afbb3
commit 39af4151d9
2 changed files with 5 additions and 2 deletions

View File

@ -419,8 +419,8 @@
box-shadow: 0 12px 28px rgba(61, 57, 41, 0.08);
color: var(--claude-text);
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
word-break: break-all;
overflow-wrap: normal;
}
.user-message .message-text {

View File

@ -123,6 +123,9 @@
line-height: 1.4;
font-family: inherit;
color: var(--claude-text);
white-space: pre-wrap;
word-break: break-all;
overflow-wrap: normal;
padding: 0;
min-height: 20px;
outline: none;