Skip to content

Commit

Permalink
Fixed Firefox bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvaeth committed Mar 8, 2018
1 parent ce9d7cf commit 7433441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions _assets/scss/base/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ iframe {
.flex-vid {
position: relative;

height: 0;
padding-bottom: 56.5%; // Widescreen

overflow: hidden;

&:before {
content: "";

display: block;
padding-bottom: 56.5%; // Widescreen
}

iframe,
object,
embed,
Expand Down
2 changes: 1 addition & 1 deletion assets/css/app.min.css

Large diffs are not rendered by default.

0 comments on commit 7433441

Please sign in to comment.