Skip to content

Commit

Permalink
Fix .masthead and .page__footer overlapping full screen video ele…
Browse files Browse the repository at this point in the history
…ments.

- Close mmistakes#933
  • Loading branch information
RobinYu committed May 8, 2017
1 parent 27aca86 commit f43b4f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

### Bug Fixes

- Fix `.masthead` and `.page__footer` overlapping full screen video elements. [#933](https://github.com/mmistakes/minimal-mistakes/issues/933)
- Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)

## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
Expand Down
10 changes: 9 additions & 1 deletion _sass/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ a.reversefootnote {

/*
Responsive Video Embed
========================================================================== */
========================================================================== */

.responsive-video-container {
position: relative;
Expand All @@ -503,3 +503,11 @@ a.reversefootnote {
height: 100%;
}
}

// full screen video fixes
:-webkit-full-screen-ancestor {
.masthead,
.page__footer {
position: static;
}
}

0 comments on commit f43b4f1

Please sign in to comment.