From a35a3cf952619d7e1f28a5c156f23c08669a29d4 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Wed, 30 Nov 2016 20:52:36 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@39380 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index 8355bc52a8..0f17b1958c 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -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%);