Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

How to make the component fully responsive with screen size #60

Open
vikasr111 opened this issue Oct 20, 2021 · 0 comments
Open

How to make the component fully responsive with screen size #60

vikasr111 opened this issue Oct 20, 2021 · 0 comments

Comments

@vikasr111
Copy link

Hi,

First of all amazing library and so easy to use in React projects. I was wondering if there's a way to set the width of the container and images in % so that the whole component will be fully responsive. I tried setting % width in masonryConfig but it doesn't work.

Please look at the screenshot for reference. Notice the empty area on the sides, it'd look great if there was a way to cover it.

Screenshot 2021-10-20 at 8 35 46 AM

In the other image when screen width is smaller, the component overflows outside of area.

Screenshot 2021-10-20 at 8 38 21 AM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant