Emoji icons break the layout a bit, when used in commit messages.
Here's the repro'd bug (in a public repo created for issue
BCLOUD-6273 which seems to be fixed now, so I'm going to use it for this to skip creating a new repo).
Adding the following to the CSS seems to work for me
The margin-top first pulls the whole <div> content up 8px (which is probably the difference between the 14px font-size and the 22px height of the span.emoji), and the top pushes the icon back down to where it should be. (The position is obviously there to make top work).
This seems about right for me (visually), but I didn't put much thought into it, so there might be a better solution.