1 parent 861c6ba commit a62ed2eCopy full SHA for a62ed2e
1 file changed
apps/web/src/chat/styles.css
@@ -963,6 +963,9 @@
963
border-radius: var(--ui-radius-sm, 0.25rem);
964
padding: 0.05rem 0.3rem;
965
font-size: 0.85em;
966
+ /* An unbroken token (a long path, hash, URL) wraps inside the message
967
+ column instead of pushing it wider. */
968
+ overflow-wrap: anywhere;
969
}
970
971
.chat-md-code-block {
@@ -971,6 +974,9 @@
974
background: var(--muted, color-mix(in srgb, var(--foreground) 8%, transparent));
972
975
973
976
overflow-x: auto;
977
+ /* The block itself never grows past its flex column ancestors; a long
978
+ unbroken line scrolls inside this box instead. */
979
+ max-width: 100%;
980
981
982
0 commit comments