Skip to content

Conversation

annavik
Copy link
Member

@annavik annavik commented Mar 10, 2025

Summary

This is a small fix to a address an issue that was brought up on Slack. For the project overview, we will now adjust the page size depending on window width to avoid gaps in the grid (making it more clear when a gallery page has reached its end).

If page width is > 1024 px (meaning we will show 3 columns), we will use page size 21. If not, we will use default page size 20.

We will update the page size if window is resized and refetch projects if needed.

Screenshot

Screenshot 2025-03-10 at 22 08 10

@annavik annavik requested a review from mihow March 10, 2025 20:38
Copy link

netlify bot commented Mar 10, 2025

Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit 671d272
🔍 Latest deploy log https://app.netlify.com/sites/antenna-preview/deploys/67cf54a813e5090008142d5e
😎 Deploy Preview https://deploy-preview-764--antenna-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 71
Accessibility: 89
Best Practices: 92
SEO: 100
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@annavik annavik force-pushed the layout/dynamic-page-size branch from 9657c63 to 326922c Compare March 10, 2025 20:39
@annavik annavik self-assigned this Mar 12, 2025
Copy link
Collaborator

@mihow mihow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better!!

@mihow mihow merged commit 5e4f6d6 into main Mar 13, 2025
6 checks passed
@mihow mihow deleted the layout/dynamic-page-size branch March 13, 2025 23:03
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