New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji is always displayed in a new line #24
Comments
Can you give exact example of each, including your markdown renderer and the context (page? Post? Etc) |
I am using gaya theme and whenever i try to use an emoticon (in post as well as page),its getting printed in a new line. This theme uses kramdown as default. |
This is a problem with the theme. It's applied |
Oh Thanks will try to find a way to fix that |
If you find a workaround please let me know. My theme applies img {
display: block;
margin: auto;
width: 90%;
} to all images, including emojis, which makes them streched out over the page. Would be ideal if one could create an exception to not apply that CSS to emojis or small images. |
@LoLei That's not possible when you have a CSS directive on the tag name ( |
Yes sorry, I wasn't implying you should implement that, I'm just saying it would be nice for it to work like that. |
img.emoji { Just add that to the scss of the theme. (Apologies for bringing up old issue - just helping if anyone comes here from googling like I did!) |
I added the following to my css to get the results I wanted: img.emoji {
display: inline;
height: 1em;
width: 1em;
margin-bottom: 0.25em;
} Hope this helps someone 😄 |
This works with Jasper theme:
|
Emoji is always getting displayed in a new line 😢 and also i am not able print two emoticons consecutively.
The text was updated successfully, but these errors were encountered: