You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the guide website, the section Image Selection under Example the gallery images shown change their width automatically, maintaning the same rowWith without adding blank extra space between them thus preserving aspect while changing the screen dimension. All rows have the same rowWidth giving a uniform aspect.
Can you provide any tip to reproduce this effect? I manage to build the gallery but when changing the screen dimension the images moves to the next row adding blank space and loosing the square aspect you manage to achieve on your website.
Any documentation, video or website is really appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, thank you for sharing this great asset.
On the guide website, the section Image Selection under Example the gallery images shown change their width automatically, maintaning the same rowWith without adding blank extra space between them thus preserving aspect while changing the screen dimension. All rows have the same rowWidth giving a uniform aspect.
https://benhowell.github.io/react-grid-gallery/examples/selection
Can you provide any tip to reproduce this effect? I manage to build the gallery but when changing the screen dimension the images moves to the next row adding blank space and loosing the square aspect you manage to achieve on your website.
Any documentation, video or website is really appreciated.
Beta Was this translation helpful? Give feedback.
All reactions