Twenty Seventeen: Keep header videos from extending past footer.

This adds 1px of bottom padding to header videos to keep them from
extending past the footer at the bottom of the page.

Fixes #38950 for 4.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39381 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe McGill 2016-11-30 20:58:01 +00:00
parent 932b861ef9
commit 859f180baf
1 changed files with 1 additions and 0 deletions

View File

@ -1674,6 +1674,7 @@ body:not(.title-tagline-hidden) .site-branding-text {
min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
width: auto;
top: 50%;
padding-bottom: 1px; /* Prevent header from extending beyond the footer */
-ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);