Skip to content

Fix - Use 1.5 aspect ratio for placeholders in staggered layout #1167

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

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

kudlajz
Copy link
Contributor

@kudlajz kudlajz commented Jul 4, 2024

Added fixed aspect ratio on stories without image, so the masonry layout is more obvious, otherwise if there's a lot of stories without a cover image, it looks very similar to the regular grid layout.

Before
Screenshot 2024-07-04 at 18 31 35

After
Screenshot 2024-07-04 at 18 31 59

@kudlajz kudlajz self-assigned this Jul 4, 2024
Copy link

vercel bot commented Jul 4, 2024

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 4:33pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
theme-nextjs-bea-cookbook ⬜️ Ignored (Inspect) Jul 4, 2024 4:33pm
theme-nextjs-bea-photography ⬜️ Ignored (Inspect) Jul 4, 2024 4:33pm
theme-nextjs-bea-the-good-newsroom ⬜️ Ignored (Inspect) Jul 4, 2024 4:33pm

@kudlajz kudlajz merged commit ada3232 into main Jul 4, 2024
12 checks passed
@kudlajz kudlajz deleted the fix/staggered-layout-placeholder-aspect-ratio branch July 4, 2024 16:36
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.

2 participants