Skip to content

Commit

Permalink
Center images inside the image box
Browse files Browse the repository at this point in the history
When the image box was larger than the image because of the caption,
the actual image was left-justified.
  • Loading branch information
segfaultxavi committed Jul 25, 2023
1 parent db54747 commit 2a37501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ figure img.side-by-side {

.md-content figure img {
padding: 8px;
margin: auto;
}

.md-content figure figcaption {
Expand Down

0 comments on commit 2a37501

Please sign in to comment.