Skip to content

Commit

Permalink
Remove auto height from media embed iframes.
Browse files Browse the repository at this point in the history
The height style was causing smaller youtube heights in particular.
  • Loading branch information
kimisgold committed Mar 13, 2024
1 parent 12b1ecb commit 9204cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/asset/css/page-blocks.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion application/asset/sass/page-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@

.media-render img,
.media-render video,
.media-render iframe,
.media-render audio {
max-width: 100%;
height: auto;
Expand All @@ -233,6 +232,7 @@
}
}

.media-render iframe,
.block-oembed iframe {
max-width: 100%;
}
Expand Down

0 comments on commit 9204cb9

Please sign in to comment.