mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 03:35:50 +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>
|
||||
</header>
|
||||
<main>
|
||||
<p>{showMediaAlt}</p>
|
||||
<p
|
||||
style={{
|
||||
whiteSpace: 'pre-wrap',
|
||||
}}
|
||||
>
|
||||
{showMediaAlt}
|
||||
</p>
|
||||
</main>
|
||||
</div>
|
||||
</Modal>
|
||||
|
|
Loading…
Reference in a new issue