jekyll / jemoji

GitHub-flavored emoji plugin for Jekyll
http://rubygems.org/gems/jemoji
MIT License
557 stars 62 forks source link

Jemojis Appear Large with Sleek Theme #119

Closed johnlarkin1 closed 2 years ago

johnlarkin1 commented 2 years ago

I think this might be a previously seen issue, but I'm not exactly sure about the fix. I'm using a fork of sleek as my theme and just installed jemoji, and the emojis are coming along huge.

Screen Shot 2022-03-27 at 1 05 17 PM Screen Shot 2022-03-27 at 1 05 21 PM

Does anyone know why this would be happening and what I can do to fix that problem?

To be clear, it looks similar to this: https://meta.discourse.org/t/emoji-are-huge-when-embedding/32634

I didn't do much in terms of extra editing, but I'm guessing it might be some interaction with how the outside div is affecting the inner emoji?

ashmaroli commented 2 years ago

If you look at the HTML in the screenshot above, you'll see height="20" width="20". So the issue lies within your theme / CSS styles that is blowing up the emojis. Hence closing..