Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent emote stretching #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SpiritAxolotl
Copy link

@SpiritAxolotl SpiritAxolotl commented May 1, 2024

exactly what it says on the tin. emotes that didn't have a 1:1 aspect ratio were stretched to the container's width and height, and I didn't like that. it just adds object-fit: contain; to images with "emoji" alt text (img[alt="emoji"]) and removes the margins (margin: 0;) from the m-2 class.

this is the most bare-bones implementation possible. I don't know exactly what the expectations are for this sort of thing so feel free to change where it is or how it's implemented.

Copy link

netlify bot commented May 1, 2024

Deploy Preview for discordpackage ready!

Name Link
🔨 Latest commit 6d062ea
🔍 Latest deploy log https://app.netlify.com/sites/discordpackage/deploys/6631b1736e2de5000805b643
😎 Deploy Preview https://deploy-preview-143--discordpackage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant