From 96507046898ade58e3dc1a08f0eff9fd37bdf33e Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Wed, 30 Nov 2016 20:58:34 +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 for 4.7 branch. Built from https://develop.svn.wordpress.org/branches/4.7@39381 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39321 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/style.css | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index 8355bc52a8..0f17b1958c 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/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%); diff --git a/wp-includes/version.php b/wp-includes/version.php index 730514c1df..7512ccec4b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-RC1-39379'; +$wp_version = '4.7-RC1-39381'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.