Template:Gallery/styles.css

table.gallerytable { display: block; }

table.gallerytable a.image { max-width: none; }