codehouse
codehouse copied to clipboard
Add object-fit class to thumbnail images
Hey Savio,
Neat app! I noticed that the thumbnails for the cheat sheet items were stretched:
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).
👷 Deploy request for codehouse-app pending review. Visit the deploys page to approve it
🔨 Explore the source changes: a951ee5191b1abdbe7c442f21c1f0241560eeab3
Someone is attempting to deploy a commit to a Personal Account owned by @saviomartin on Vercel.
@saviomartin first needs to authorize it.