Customize: Fix panel indentation in Firefox.

In Firefox on Windows the menus and widgets panel weren't fully visible due to a miscalculation of the width of a panel, caused by a visible scrollbar.

Props wpfo.
Fixes #34622.
Built from https://develop.svn.wordpress.org/trunk@37984


git-svn-id: http://core.svn.wordpress.org/trunk@37925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-07-06 11:32:27 +00:00
parent dc994f5db5
commit 3c8c6fee4d
5 changed files with 11 additions and 11 deletions

View File

@ -277,9 +277,9 @@ h3.customize-section-title {
.accordion-sub-container.control-panel-content { .accordion-sub-container.control-panel-content {
display: none; display: none;
position: absolute; position: absolute;
right: 300px; right: 100%;
top: 0; top: 0;
width: 300px; width: 100%;
-webkit-transition: right ease-in-out .18s; -webkit-transition: right ease-in-out .18s;
transition: right ease-in-out .18s; transition: right ease-in-out .18s;
} }
@ -427,8 +427,8 @@ h3.customize-section-title {
.in-sub-panel #customize-info, .in-sub-panel #customize-info,
.in-sub-panel #customize-theme-controls > ul > .accordion-section { .in-sub-panel #customize-theme-controls > ul > .accordion-section {
right: -300px; right: -100%;
width: 300px; width: 100%;
} }
.in-sub-panel #customize-theme-controls .accordion-section.current-panel { .in-sub-panel #customize-theme-controls .accordion-section.current-panel {

File diff suppressed because one or more lines are too long

View File

@ -277,9 +277,9 @@ h3.customize-section-title {
.accordion-sub-container.control-panel-content { .accordion-sub-container.control-panel-content {
display: none; display: none;
position: absolute; position: absolute;
left: 300px; left: 100%;
top: 0; top: 0;
width: 300px; width: 100%;
-webkit-transition: left ease-in-out .18s; -webkit-transition: left ease-in-out .18s;
transition: left ease-in-out .18s; transition: left ease-in-out .18s;
} }
@ -427,8 +427,8 @@ h3.customize-section-title {
.in-sub-panel #customize-info, .in-sub-panel #customize-info,
.in-sub-panel #customize-theme-controls > ul > .accordion-section { .in-sub-panel #customize-theme-controls > ul > .accordion-section {
left: -300px; left: -100%;
width: 300px; width: 100%;
} }
.in-sub-panel #customize-theme-controls .accordion-section.current-panel { .in-sub-panel #customize-theme-controls .accordion-section.current-panel {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-beta1-37983'; $wp_version = '4.6-beta1-37984';
/** /**
* 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.