Skip to content

Commit

Permalink
Images: align center even with webp images (picture, figure tags
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomollet committed Oct 28, 2021
1 parent 6c5ace3 commit a345cff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Images: align center even with webp images (picture, figure tags)

### 0.8.4: October 11th, 2021
* Update CSS styles

Expand Down
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9752,7 +9752,7 @@ figure {
}
}

.aligncenter {
.aligncenter, .aligncenter * {
display: block;
text-align: center;
margin: 0 auto;
Expand Down
2 changes: 1 addition & 1 deletion css/styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scss/helpers/_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ figure {
}
}

.aligncenter {
.aligncenter, .aligncenter * {
display: block;
text-align: center;
margin: 0 auto;
Expand Down

0 comments on commit a345cff

Please sign in to comment.