Template:Center block/styles.css

.wst-center-block { display:block; margin:0 auto; padding:0; position:relative; /* width:fit-content; */ max-width:100%; height:auto; text-align:initial; } .wst-center-block-title { display:inline-block; width:100%; text-align:center; }