Skip to content

Commit a345cff

Browse files
committed
Images: align center even with webp images (picture, figure tags
1 parent 6c5ace3 commit a345cff

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Images: align center even with webp images (picture, figure tags)
2+
13
### 0.8.4: October 11th, 2021
24
* Update CSS styles
35

css/styles.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -9752,7 +9752,7 @@ figure {
97529752
}
97539753
}
97549754

9755-
.aligncenter {
9755+
.aligncenter, .aligncenter * {
97569756
display: block;
97579757
text-align: center;
97589758
margin: 0 auto;

css/styles.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/helpers/_image.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ figure {
9494
}
9595
}
9696

97-
.aligncenter {
97+
.aligncenter, .aligncenter * {
9898
display: block;
9999
text-align: center;
100100
margin: 0 auto;

0 commit comments

Comments
 (0)