mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
c0a1cf27e6
commit
95c496b39e
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user