diff --git a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html index 3df5674381e79e405083ebe68f2102b0081b56f4..5d9dc91bc4eae2ddc50618b8f6f9cd863e59c877 100644 --- a/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html +++ b/shared/templates/styleguide2/includes/atoms/youtube_video/youtube_video.html @@ -58,6 +58,10 @@ {% else %} max-w-[100ch] {% endif %} + + {% if page.root_page.content_is_centered %} + mx-auto + {% endif %} " id="ytVideo{{ self.video_id }}IframeContainer" style="display: none"