style: make wp-caption centering working

This commit is contained in:
Kazhnuz 2018-12-06 19:50:31 +01:00
parent 5b0b1d1e1d
commit 3bdc5d5c43
2 changed files with 7 additions and 2 deletions

View file

@ -183,8 +183,6 @@
} }
.wp-caption { .wp-caption {
margin: auto;
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
@ -194,4 +192,8 @@
font-size: 0.9em; font-size: 0.9em;
font-style: italic; font-style: italic;
} }
& .aligncenter {
margin: auto;
}
} }

View file

@ -1479,3 +1479,6 @@ a.list-group-item:hover {
.wp-caption-text { .wp-caption-text {
font-size: 0.9em; font-size: 0.9em;
font-style: italic; } font-style: italic; }
.wp-caption .aligncenter {
margin: auto; }