Skip to content

Commit

Permalink
Improve side-aligned image positioning (#5876)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
  • Loading branch information
and-rad and Calinou committed Jun 15, 2022
1 parent ef992d9 commit a9b3d5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ legend,
font-weight: 500;
}

/* See <https://github.com/godotengine/godot-docs/pull/5876> for context. */
.rst-content .align-right,
.rst-content .align-left {
clear: both;
}

.rst-content div.figure p.caption {
/* Tweak caption styling to be closer to typical captions */
text-align: center;
Expand Down

0 comments on commit a9b3d5b

Please sign in to comment.