saviomartin / codehouse

A whole new world of 300+ developer cheatsheets
https://codehouse.vercel.app/
MIT License
968 stars 72 forks source link

Add object-fit class to thumbnail images #11

Open BraydenTW opened 2 years ago

BraydenTW commented 2 years ago

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[bot] commented 2 years ago

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

🔨 Explore the source changes: a951ee5191b1abdbe7c442f21c1f0241560eeab3

vercel[bot] commented 2 years ago

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

@saviomartin first needs to authorize it.