Skip to content

Commit

Permalink
INTERIM-173 Remove black bars above/below embedded videos (#185)
Browse files Browse the repository at this point in the history
* INTERIM-173 Remove black bars above/below embedded videos

* INTERIM-173 Make sure video doesn't overflow its container
  • Loading branch information
sacarney authored and angelamnr committed Dec 13, 2018
1 parent 8a5e442 commit ebbceab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -2830,6 +2830,19 @@ td.views-field-field-resource-screenshot img {
min-width: 100px;
}

.player {
padding-bottom: 56.25%;
position: relative;
height: 0;
}

.player iframe {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
}

/* ---------------------------------------- */
/* ## CONTENT EDITING
/* ---------------------------------------- */
Expand Down

0 comments on commit ebbceab

Please sign in to comment.