Replies: 2 comments 3 replies
-
But emoji aren't images by default. They're text. The feed you're referencing abuses images to act like emoji, which is fine but it'll give weird results in News. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You could probably use some custom CSS to style the emoji images for this particular feed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, when feed items are displayed, sites will often use images for emoji that are designed for HDPI in their feeds. On non HDPI devices, this seems to lead to emojis being displayed at freakishly large sizes, like this:
Realistically, emoji's should be displayed at a size of 1-1.2em, so they match the size of the text they're displayed with. The challenge though is knowing which images in the feed are emoji's and what are just images being sent through without any scaling info.
I suggest that we check images inserted in content items before displaying them, and if they meet the following criteria, resize them to 1.2em high:
Doing this would change the example above, to look like this:
Beta Was this translation helpful? Give feedback.
All reactions