Template:Grid list/styles.css

.template-grid-list-2em ul, .template-grid-list-3em ul { display: flex; /* eat whitespace */ flex-wrap: wrap; margin: 0; padding: 0; }

.template-grid-list-2em li, .template-grid-list-3em li { display: inline-block; text-align: center; padding: 0 0.25em; }

.template-grid-list-2em li { min-width: 1.5em; }

.template-grid-list-3em li { min-width: 2.5em; }