Varia: Make sure resized and non-resized images appear centered initially, unless a user explicity chooses to have the image left or right aligned

This commit is contained in:
Allan Cole 2019-10-02 11:10:33 -04:00
parent 282213a273
commit 98837f655d
5 changed files with 9 additions and 8 deletions

View file

@ -1,9 +1,5 @@
/* Center image block by default in the editor */
.wp-block-image {
text-align: center;
}
.wp-block-image > div {
text-align: center;
}

View file

@ -1,4 +1,5 @@
.wp-block-image {
text-align: center;
figcaption {
color: #{map-deep-get($config-global, "color", "foreground", "light")};

View file

@ -397,10 +397,6 @@ object {
}
/* Center image block by default in the editor */
.wp-block-image {
text-align: center;
}
.wp-block-image > div {
text-align: center;
}

View file

@ -1423,6 +1423,10 @@ h6, .h6 {
line-height: 1.125;
}
.wp-block-image {
text-align: center;
}
.wp-block-image figcaption {
color: #767676;
font-size: 0.69444rem;

View file

@ -1423,6 +1423,10 @@ h6, .h6 {
line-height: 1.125;
}
.wp-block-image {
text-align: center;
}
.wp-block-image figcaption {
color: #767676;
font-size: 0.69444rem;