mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-27 19:59:17 +03:00
Need to preserve white space in media descriptions
This commit is contained in:
parent
7f9742b50a
commit
5fb123f228
1 changed files with 7 additions and 1 deletions
|
@ -1446,7 +1446,13 @@ function Carousel({ mediaAttachments, index = 0, onClose = () => {} }) {
|
||||||
<h2>Media description</h2>
|
<h2>Media description</h2>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<p>{showMediaAlt}</p>
|
<p
|
||||||
|
style={{
|
||||||
|
whiteSpace: 'pre-wrap',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{showMediaAlt}
|
||||||
|
</p>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Loading…
Add table
Reference in a new issue