full width video support

This commit is contained in:
Ross Trottier 2024-09-17 10:00:38 -06:00
parent 624b906393
commit 7f10b47251

View File

@ -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;