Skip to content
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

refactor(HubContentGrid): implement masonry layout #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rccsousa
Copy link
Collaborator

@rccsousa rccsousa commented Oct 29, 2024

Why:

The current implementation of the hub content grid is not displaying the grid on a masonry layout (i.e. variable row heights and content cards side by side), which is not working as intended.

How:

By implementing a masonry grid layout with react-masonry-css and caping height and setting overflow: scroll to achieve a smooth / complete scrollable content grid with masonry effect.

Also introduces styling improvements to content cards.

Demonstration:

masonry

- implements grid layout through addition of 'react-masonry-css' library
Copy link

netlify bot commented Oct 29, 2024

Deploy Preview for content-sub ready!

Name Link
🔨 Latest commit c6d6bb6
🔍 Latest deploy log https://app.netlify.com/sites/content-sub/deploys/6720cb59e9da7f0008d13477
😎 Deploy Preview https://deploy-preview-66--content-sub.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@rccsousa rccsousa marked this pull request as ready for review October 29, 2024 11:49
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.

1 participant