User:Samuelmichaels/Monobook.css

div.wikia-gallery span.wikia-gallery-item { display: inline-block; }