浏览代码

Improve side-aligned image positioning (#5876)

Co-authored-by: Hugo Locurcio <[email protected]>
and-rad 3 年之前
父节点
当前提交
a9b3d5baeb
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      _static/css/custom.css

+ 6 - 0
_static/css/custom.css

@@ -209,6 +209,12 @@ legend,
     font-weight: 500;
     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 {
 .rst-content div.figure p.caption {
     /* Tweak caption styling to be closer to typical captions */
     /* Tweak caption styling to be closer to typical captions */
     text-align: center;
     text-align: center;