Customize: Fix positioning of Preview button in mobile.

Props Mahvash-Fatima.
Fixes #42172.

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


git-svn-id: http://core.svn.wordpress.org/trunk@41687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-10-13 08:23:50 +00:00
parent d44acf01dc
commit 8af4e6e3f9
5 changed files with 11 additions and 19 deletions

View File

@ -1758,13 +1758,10 @@ p.customize-section-description {
}
/* Animations for opening the themes panel */
#customize-header-actions .save,
#customize-header-actions #publish-settings,
#customize-save-button-wrapper,
#customize-header-actions .spinner,
#customize-header-actions .customize-controls-preview-toggle {
position: relative;
top: 0;
transition: .18s top ease-in-out;
transition: .18s margin ease-in-out;
}
#customize-footer-actions,
@ -1784,11 +1781,10 @@ p.customize-section-description {
background: #eee; /* Prevents a black flash when fading in the panel */
}
.in-themes-panel #customize-header-actions .save,
.in-themes-panel #customize-header-actions #publish-settings,
.in-themes-panel #customize-save-button-wrapper,
.in-themes-panel #customize-header-actions .spinner,
.in-themes-panel #customize-header-actions .customize-controls-preview-toggle {
top: -45px;
margin-top: -46px; /* Height of header actions bar */
}
.in-themes-panel #customize-footer-actions,

File diff suppressed because one or more lines are too long

View File

@ -1758,13 +1758,10 @@ p.customize-section-description {
}
/* Animations for opening the themes panel */
#customize-header-actions .save,
#customize-header-actions #publish-settings,
#customize-save-button-wrapper,
#customize-header-actions .spinner,
#customize-header-actions .customize-controls-preview-toggle {
position: relative;
top: 0;
transition: .18s top ease-in-out;
transition: .18s margin ease-in-out;
}
#customize-footer-actions,
@ -1784,11 +1781,10 @@ p.customize-section-description {
background: #eee; /* Prevents a black flash when fading in the panel */
}
.in-themes-panel #customize-header-actions .save,
.in-themes-panel #customize-header-actions #publish-settings,
.in-themes-panel #customize-save-button-wrapper,
.in-themes-panel #customize-header-actions .spinner,
.in-themes-panel #customize-header-actions .customize-controls-preview-toggle {
top: -45px;
margin-top: -46px; /* Height of header actions bar */
}
.in-themes-panel #customize-footer-actions,

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41852';
$wp_version = '4.9-beta2-41853';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.