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 {
margin: auto;
img {
max-width: 100%;
height: auto;
@ -194,4 +192,8 @@
font-size: 0.9em;
font-style: italic;
}
& .aligncenter {
margin: auto;
}
}

View File

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