# Issue in image/text preview when writing a message

**URL:** <https://meta.discourse.org/t/issue-in-image-text-preview-when-writing-a-message/134896>\
**Category:** UX\
**Created:** [December 2, 2019, 6:26pm UTC](https://meta.discourse.org/t/issue-in-image-text-preview-when-writing-a-message/134896 "2019-12-02T18:26:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [December 2, 2019, 6:26pm UTC](https://meta.discourse.org/t/issue-in-image-text-preview-when-writing-a-message/134896/1 "2019-12-02T18:26:32Z")

</div>

There is a weird behavior in the preview when having a blank line before or after a text around pictures.  
Examples:

No issue here:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/7/67f1992d0ef9267939d587419a4079a765d8b786.jpeg)

If I add a blank line before the text, the text begins on the right side of the first picture.

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/5/c5199dfde9cd2fbc78462e6d00637f4f0f139479.jpeg)

If I add a blank line after the text and if the text is short, the text is displayed on the left side of the second picture:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/4/e4e64b30c3d4415c13776fb2d5db059b2681168e.jpeg)  
If the text is longer, the issue will disappear.

This is only in the preview panel, in all of these cases the final post will have no layout issue.

The issue also won’t appear if the text is not between **two** images, or if the image in the preview is wide enough to take all the preview panel width.

I use Chrome on Windows 10.

---

_[View the full topic](https://meta.discourse.org/t/issue-in-image-text-preview-when-writing-a-message/134896)._
