I am working on a project where I am pulling images from Reddit and aiming to showcase them in a gallery-style grid. I have tried using a flex display and resizing the images to match dimensions, but unfortunately not all images have the same dimensions which affects the overall look. Is CSS Grid a solution for this issue? I have searched for information on this topic but haven't found any. My project is built with React JS and Sass. Any guidance or input would be greatly appreciated.