diff --git a/assets/css/layout.css b/assets/css/layout.css index 192edf7..556343a 100644 --- a/assets/css/layout.css +++ b/assets/css/layout.css @@ -1089,15 +1089,20 @@ Figures and Galleries filter: brightness(0.95); } -.wp-block-embed iframe { - height: 280px; -} - .wp-block-image figcaption { padding: 0; font-size: 0.9rem; } +.wp-block-embed iframe { + min-height: 280px; +} + +.wp-block-video, +.wp-block-embed { + width: 100%; +} + .blocks-gallery-item__caption { font-size: 0.95em; font-weight: bold; diff --git a/functions.php b/functions.php index 22ba842..551f4b4 100755 --- a/functions.php +++ b/functions.php @@ -153,7 +153,7 @@ 'name' => 'video-glow', 'label' => __( 'White Glow', 'm20t1' ), 'is_default' => false, - 'inline_style' => '.is-style-video-shadow video, + 'inline_style' => '.is-style-video-glow video, .is-style-video-glow img { box-shadow: 0 0 8px 0 #fff6; border-radius: 3px;