From 88b5ee5505f45f0e09b1fc04fab517ad83372345 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Jan 2019 15:42:46 +0000 Subject: [PATCH] Twenty Fourteen: Correct video play button position. A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position. Props mmaumio, celloexpressions. Merges [44380] to the 5.0 branch. Fixes #44664. Built from https://develop.svn.wordpress.org/branches/5.0@44421 git-svn-id: http://core.svn.wordpress.org/branches/5.0@44251 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/css/editor-style.css | 3 +-- wp-content/themes/twentyfourteen/style.css | 3 +-- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyfourteen/css/editor-style.css b/wp-content/themes/twentyfourteen/css/editor-style.css index 6bd5ac0f41..4c5482adc2 100644 --- a/wp-content/themes/twentyfourteen/css/editor-style.css +++ b/wp-content/themes/twentyfourteen/css/editor-style.css @@ -628,7 +628,6 @@ img { box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; height: 36px; - margin-left: -24px; width: 48px; } @@ -637,7 +636,7 @@ img { content: '\f452'; display: inline-block; font: normal 32px/1.125 Genericons; - position: absolute; + position: relative; top: 1px; left: 10px; } diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index 162d237500..e3b6082711 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -1405,7 +1405,6 @@ a.post-thumbnail:hover { box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; height: 36px; - margin: -28px 0 0 -24px; /* Keep centered on video (container includes visible controls bar) */ width: 48px; } @@ -1415,7 +1414,7 @@ a.post-thumbnail:hover { content: '\f452'; display: inline-block; font: normal 32px/1.125 Genericons; - position: absolute; + position: relative; top: 1px; left: 10px; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5283b8ad0c..b49645a813 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0.3-alpha-44419'; +$wp_version = '5.0.3-alpha-44421'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.