Explorar o código

Improve side-aligned image positioning (#5876)

Co-authored-by: Hugo Locurcio <[email protected]>
and-rad %!s(int64=3) %!d(string=hai) anos
pai
achega
308bde3cc0
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      _static/css/custom.css

+ 6 - 0
_static/css/custom.css

@@ -217,6 +217,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;