From 7f10b4725175ae0feb5e305f44aa986333657ebe Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Tue, 17 Sep 2024 10:00:38 -0600 Subject: [PATCH] full width video support --- style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/style.css b/style.css index 7294a02..2302e0b 100644 --- a/style.css +++ b/style.css @@ -1173,6 +1173,23 @@ COMPONENTS max-width: 100%; } +.wp-block-embed.is-type-video iframe { + width: 100%; + height: 231px; +} + +@media (min-width: 760px) { + .wp-block-embed.is-type-video iframe { + height: 360px; + } +} + +@media (min-width: 1200px) { + .wp-block-embed.is-type-video iframe { + height: 562px; + } +} + .st-article-section-related-articles { display: flex; flex-wrap: wrap;