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

Add object-fit class to thumbnail images #11

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

Add object-fit class to thumbnail images #11

wants to merge 1 commit into from

Conversation

BraydenTW
Copy link

Hey Savio,

Neat app! I noticed that the thumbnails for the cheat sheet items were stretched:

26CB151A-1CC9-4E0F-B09A-660832EC7CA0

This can be solved using the same <img> element by adding the Tailwind class: object-cover. It will apply this CSS rule to it: object-fit: cover; (it functions like background-size: cover; on a <div> element).

@netlify
Copy link

netlify bot commented Jan 12, 2022

👷 Deploy request for codehouse-app pending review.
Visit the deploys page to approve it

🔨 Explore the source changes: a951ee5

@vercel
Copy link

vercel bot commented Jan 12, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @saviomartin on Vercel.

@saviomartin first needs to authorize it.

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