Twenty Seventeen: Prevent YouTube videos from being cut off in Safari.

The theme's `object-fit: cover` styles for the header caused YouTube videos to be positioned too far left in Safari. 

Fixes #40522.


Built from https://develop.svn.wordpress.org/trunk@44669


git-svn-id: http://core.svn.wordpress.org/trunk@44500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
laurelfulford 2019-01-21 18:03:51 +00:00
parent eaa03c3c8c
commit 5c86facd5d
2 changed files with 1 additions and 2 deletions

View File

@ -1748,7 +1748,6 @@ body:not(.title-tagline-hidden) .site-branding-text {
@supports ( object-fit: cover ) {
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe,
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
height: 100%;
left: 0;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta1-44668';
$wp_version = '5.1-beta1-44669';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.