Adjusted grid and flex-img.