Gallery Columns Do not Work Properly

Hi, I’m test Roots with WordPress Theme Test Unit, and I found that in Post Format Test: Gallery, page 2, the gallery doesn’t work as it supposed to be after 7 columns. I think it might be caused by the grid system of Bootstraps. How can I fix this?

It does mention in lib/gallery.php that the number of columns must be a factor of 12 for the gallery shortcode to work. You’ll have to edit it yourself to support other amounts of columns as well as adding custom CSS.