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.



git-svn-id: https://develop.svn.wordpress.org/trunk@44669 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
laurelfulford 2019-01-21 18:02:58 +00:00
parent c0a1cf27e6
commit 95c496b39e

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;