How to reduce space between gallery images in Casper

I’m sure there’s a code injection to use… there’s just too much white space on mobile… anyone know how to reduce that space so the thumbnail is larger?

Figured it out if anyone cares:

.kg-gallery-row:not(:first-of-type) {
    margin: .25em 0 0;

.kg-gallery-image:not(:first-of-type) {
    margin: 0 0 0 .25em;
},, {
    margin-top: .25em;