Responsive Pinterest columns

I followed a Youtube video on mimicking a Pinterest grid by just creating 3 columns. Everything looks good until I get to the vertical mobile view. When I change it to 1 columns, it only shows one image and the outline of that image container seems to extend to the right? Any ideas?? Thank you in advance.