|
@@ -47,8 +47,12 @@
|
|
// This was added for the 'site-logo' block which centers with an 'align:center' attribute
|
|
// This was added for the 'site-logo' block which centers with an 'align:center' attribute
|
|
// instead of 'textAlign' center which sets an .aligncenter class instead of a has-text-align-center
|
|
// instead of 'textAlign' center which sets an .aligncenter class instead of a has-text-align-center
|
|
// class which would do this for us. I'm not sure why but this centers things appropriately.
|
|
// class which would do this for us. I'm not sure why but this centers things appropriately.
|
|
|
|
+// Display and margin properties added to support image alignment from the classic editor.
|
|
.aligncenter {
|
|
.aligncenter {
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ display: block;
|
|
|
|
+ margin-right: auto;
|
|
|
|
+ margin-left: auto;
|
|
}
|
|
}
|
|
|
|
|
|
// Mimick the Gutenberg-generated rules of the layout container on the 404 template
|
|
// Mimick the Gutenberg-generated rules of the layout container on the 404 template
|