Explorar el Código

Fix video alignment after dependency update without CSS

tetrapod00 hace 5 meses
padre
commit
39bbba660d

+ 2 - 0
contributing/documentation/docs_image_guidelines.rst

@@ -242,6 +242,7 @@ videos should be included with the following code snippet::
        :autoplay:
        :loop:
        :muted:
+       :align: default
 
 Where ``documentation_video.webp`` would be changed to the name of the video you
 created. Name your videos in a way that makes their meaning clear, possibly with
@@ -249,3 +250,4 @@ a prefix that makes their relationship to a documentation page explicit.
 
 The ``:autoplay:``, ``:loop:`` and ``:muted:`` flags should always be specified
 unless the video needs to play audio. In this case, do not specify *any* of these flags.
+The ``:align: default`` flag should always be specified.

+ 1 - 0
tutorials/2d/2d_parallax.rst

@@ -54,6 +54,7 @@ The video below displays how these values affect scrolling while in-game:
    :autoplay:
    :loop:
    :muted:
+   :align: default
 
 Infinite repeat
 ---------------

+ 1 - 0
tutorials/3d/csg_tools.rst

@@ -27,6 +27,7 @@ Interior environments can be created by using inverted primitives.
    :autoplay:
    :loop:
    :muted:
+   :align: default
 
 .. seealso::
 

+ 1 - 0
tutorials/3d/spring_arm.rst

@@ -121,3 +121,4 @@ Run the game and notice that mouse movement now rotates the camera around the ch
    :autoplay:
    :loop:
    :muted:
+   :align: default