Awards: Fix alignment with custom Emojis
What does this MR do and why?
Awards: Fix alignment with custom Emojis
With custom Emojis the buttons renders at 33.319px instead of 32px, also the vertical alignemnt is slightly off
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
echo "Feature.enable(:custom_emoji)" | gdk rails c
- Create new Emoji: http://gdk.test:3000/groups/flightjs/-/custom_emoji/new
name:custom-cat
url:https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/Katzepasstauf_%282009_photo%3B_cropped_2022%29_%28cropped%29.jpg/220px-Katzepasstauf_%282009_photo%3B_cropped_2022%29_%28cropped%29.jpg
- Go to an issue: http://gdk.test:3000/flightjs/Flight/-/issues/44 and add Emojis to a comment
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #430244 (closed), #424396 (closed)
Edited by Sascha Eggenberger