Closed msalsas closed 6 years ago
I have something like this:
<div className="text-with-emojis"> <Emojify>{text}</Emojify> </div>
where text-with-emojis class has the text-align: right css rule. Then the displayed emojis look like this:
text-with-emojis
text-align: right
If I remove the text-align: right the emojis are displayed right:
I've been playing with css rules but can't find the solition. Any ideas?
I've found out that adding text-align: left (or center) to the last span element solves the problem (probably at emojione-sprite.js). Would you accept a PR?
text-align: left
center
span
emojione-sprite.js
Sorry for the delay. Yes please, send a PR
I have something like this:
where
text-with-emojis
class has thetext-align: right
css rule. Then the displayed emojis look like this:If I remove the
text-align: right
the emojis are displayed right:I've been playing with css rules but can't find the solition. Any ideas?