react-giphy-searchbox icon indicating copy to clipboard operation
react-giphy-searchbox copied to clipboard

How to make the component fully responsive with screen size

Open vikasr111 opened this issue 4 years ago • 0 comments

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

vikasr111 avatar Oct 20 '21 03:10 vikasr111