Skip to content

Commit

Permalink
fixing height of video embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
2ndkauboy committed May 22, 2020
1 parent 4dad837 commit 54d72e3
Show file tree
Hide file tree
Showing 3 changed files with 4,176 additions and 2,538 deletions.
11 changes: 0 additions & 11 deletions 2020theme/sass/02-base/_08-media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@
}

/* Make sure embeds and iframes fit their containers. */
.is-type-video{
position: relative;
padding-bottom: 56.25%;
margin: 0 auto 3rem;
height: 0;
overflow: hidden;
figcaption{
position: absolute;
bottom: 0;
}
}
embed,
iframe,
object {
Expand Down
Loading

0 comments on commit 54d72e3

Please sign in to comment.