Emoji auto break line?

Emoji auto break line, I dont know how to fix, can help me?(Discourse 2.0.0.beta5)

:slight_smile: :slight_smile: :slight_smile: looks like either a plugin issue or perhaps a setting issue.

Is traditional markdown linebreaks enabled on your site?

2 Likes

It is enabled but dont working…
You can see my forum here.

https://xeom.info/t/so-dien-thoai-khieu-nai-tai-xe-grabcar-grabbike-len-tong-dai-cho-khach-hang

1 Like

It looks like the problem is coming from the custom theme you are using.

2 Likes

I could be wrong, but did you use the code to center all images from this topic?

If so, then the issue you’re facing is an unintended consequence.

You need to exclude emoji from the rules that center images, so change this:

.lightbox-wrapper {
    display: block;
    text-align: center;
}

p>img {
    display: block;
    margin: 0 auto; 
}

to this:

.lightbox-wrapper {
    display: block;
    text-align: center;
}

p>img:not(.emoji){
    display: block;
    margin: 0 auto; 
}

And the result will be:

I will also edit my post in the topic.

8 Likes

great! It already works
Thank you so much :*
loving :slight_smile:

2 Likes

This topic was automatically closed after 28 hours. New replies are no longer allowed.