Template:SchemaDiagram.css

.mw-tpl-schemadiagram { display: flex; flex-flow: row wrap; justify-content: space-around; }