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:
parent
282213a273
commit
98837f655d
5 changed files with 9 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.wp-block-image {
|
||||
text-align: center;
|
||||
|
||||
figcaption {
|
||||
color: #{map-deep-get($config-global, "color", "foreground", "light")};
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue