fix #507: retain custom emoji aspect ratio in admin panel
What does this PR do? This PR adds the object-fit: contain
css attribute to the img
tags for the custom emoji admin panel which makes them scale uniformly when scaling them to fit in the preview box. This fixes #507 (closed)
The browser compatibility for object-fit: contain;
: https://caniuse.com/mdn-css_properties_object-fit_contain
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
Filter activity
Please register or sign in to reply