Grid/Flex positioning - Image Grid?
It's basically there, but for some reason I have a lot of space on the right, but no space on the left?


9 Replies
width: 100% seems to have worked inside the shopImages container
do you need to set explicit width on the img ??
maybe not, I did try to use em, I could use 20em for the same result
how about not setting it at all grid should take care of it
oh you're right, it does. only issue I have now is they touch the sides, I'd want some space on the edges.. would that be accomplished with adding padding onto the container?
padding: 10em would give this result

though when I squish it down to a mobile view, the images actually dissappear hahahaha
sorry for late response but maybe the flexbox used on the img tag is doing this also you should make your images responsive with
max-width: 100%;
I keep forgetting max/min width, I’ll do that, thanks