.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;
}

.template-grid-list-abcd ul {
	border: 1px solid #a2a9b1;
}

.template-grid-list-abcd li {
	display: inline-block;
	text-align: center;
	min-width: 1.57em;
	padding: 0;
}