Attachment Modal: Preserve line breaks in caption from composer

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alexander Zinchuk 2026-05-15 18:38:05 +02:00
parent b8fda6bade
commit bc8111010c

View File

@ -710,6 +710,7 @@
font-size: var(--composer-text-size, 1rem);
line-height: 1.375;
text-align: initial;
white-space: pre-wrap;
background: transparent !important;
box-shadow: none !important;
@ -842,9 +843,7 @@
height: auto;
margin-bottom: 0;
padding: calc((var(--base-height, 3rem) - var(--composer-text-size, 1rem) * 1.3125) / 2) 0;
line-height: 1.3125;
white-space: pre-wrap;
}
.forced-placeholder,