UX: Consistent emoji size for oneboxed GH issues. (PR #13586)

Before:

After:

GitHub

The title of this pull request changed from “UX: Make emoji size consistent for oneboxed GH issues with short tags.” to "UX: Consistent emoji size for oneboxed GH issues.

Minor, but is there any reason why we don’t set width and height here?

For some reason, I thought the width and height were automatically set on the img tag, but that’s not the case. Not all emojis have the same size, so setting fixed width and height make them look weird.

Hmm, interesting. We set width/height for emojis generally:

Do the same emojis look weird when inserted outside a onebox?

No, they don’t. I think it’s because the emoji parent uses display: inline-block.

Ah ok. LGTM then!