prezly / theme-nextjs-bea

News site built with NextJS, Typescript and Prezly SDK
https://theme-nextjs-bea-the-good-newsroom.vercel.app
MIT License
43 stars 11 forks source link

Fix - Set font size to 0 to prevent border overflow #1166

Closed kudlajz closed 1 month ago

kudlajz commented 1 month ago

With the masonry layout, I've noticed that cards have a weird empty space below the image which makes the border stand out.

Resetting font size to 0 in the container makes it look correct.

Screenshot 2024-07-04 at 16 04 13 Screenshot 2024-07-04 at 16 04 21

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
theme-nextjs-bea-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2024 2:08pm
3 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **theme-nextjs-bea-cookbook** | ⬜️ Ignored ([Inspect](https://vercel.com/prezly/theme-nextjs-bea-cookbook/CmG8CuyyHq2fj5jSvnXMtXpunAoc)) | [Visit Preview](https://theme-nextjs-bea-cookbook-git-fix-image-border-e-caaa46-prezly1.vercel.app) | | Jul 4, 2024 2:08pm | | **theme-nextjs-bea-photography** | ⬜️ Ignored ([Inspect](https://vercel.com/prezly/theme-nextjs-bea-photography/FrGY2dmogezSdHW37CdExC8ZhiMR)) | [Visit Preview](https://theme-nextjs-bea-photography-git-fix-image-borde-855228-prezly1.vercel.app) | | Jul 4, 2024 2:08pm | | **theme-nextjs-bea-the-good-newsroom** | ⬜️ Ignored ([Inspect](https://vercel.com/prezly/theme-nextjs-bea-the-good-newsroom/EMif518ewcahviqgP9CE21xsT8vz)) | [Visit Preview](https://theme-nextjs-bea-the-good-newsroom-git-fix-image-00aef0-prezly1.vercel.app) | | Jul 4, 2024 2:08pm |