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:
parent
b8fda6bade
commit
bc8111010c
@ -710,6 +710,7 @@
|
|||||||
font-size: var(--composer-text-size, 1rem);
|
font-size: var(--composer-text-size, 1rem);
|
||||||
line-height: 1.375;
|
line-height: 1.375;
|
||||||
text-align: initial;
|
text-align: initial;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
@ -842,9 +843,7 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding: calc((var(--base-height, 3rem) - var(--composer-text-size, 1rem) * 1.3125) / 2) 0;
|
padding: calc((var(--base-height, 3rem) - var(--composer-text-size, 1rem) * 1.3125) / 2) 0;
|
||||||
|
|
||||||
line-height: 1.3125;
|
line-height: 1.3125;
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.forced-placeholder,
|
.forced-placeholder,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user