Improve side-aligned image positioning (#5876)

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
and-rad
2022-06-15 16:57:13 +02:00
committed by Hugo Locurcio
parent 24f072fd91
commit 9fd99de648

View File

@@ -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;