Twenty Seventeen: Resolves the pin icon having variations

This fixes the pin icon having variations in position and size depending on screen and device. 

Props metodiew, mbelchev, davidakennedy
Fixes #38407


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


git-svn-id: http://core.svn.wordpress.org/trunk@38835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2016-10-24 22:31:12 +00:00
parent 1a7a00d14f
commit 23a4550b0d
3 changed files with 8 additions and 8 deletions

View File

@ -113,7 +113,7 @@ input[type="checkbox"] {
.sticky .icon-pinned { .sticky .icon-pinned {
left: auto; left: auto;
right: -1em; right: -1.5em;
} }
.prev.page-numbers .icon, .prev.page-numbers .icon,

View File

@ -1770,10 +1770,10 @@ body:not(.has-header-image) .custom-header-image {
.sticky .icon-pinned { .sticky .icon-pinned {
display: block; display: block;
height: 20px; height: 18px;
left: -1em; left: -1.5em;
position: absolute; position: absolute;
top: 1.75em; top: 1.65em;
-ms-transform: rotate(-45deg); /* IE 9 */ -ms-transform: rotate(-45deg); /* IE 9 */
-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */ -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
transform: rotate(-45deg); transform: rotate(-45deg);
@ -3652,8 +3652,8 @@ article.panel-placeholder {
/* Blog, archive, search */ /* Blog, archive, search */
.sticky .icon { .sticky .icon-pinned {
height: 32px; height: 23px;
left: -2.5em; left: -2.5em;
top: 1.5em; top: 1.5em;
width: 32px; width: 32px;
@ -3930,7 +3930,7 @@ article.panel-placeholder {
.sticky .icon-pinned { .sticky .icon-pinned {
font-size: 32px; font-size: 32px;
font-size: 2rem; font-size: 2rem;
height: 32px; height: 22px;
left: -1.25em; left: -1.25em;
top: 0.75em; top: 0.75em;
width: 32px; width: 32px;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38891'; $wp_version = '4.7-alpha-38892';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.