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.

git-svn-id: https://develop.svn.wordpress.org/trunk@37984 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling 2016-07-06 11:31:22 +00:00
parent 0037aa1dd5
commit 50007cf37d
1 changed files with 4 additions and 4 deletions

View File

@ -277,9 +277,9 @@ h3.customize-section-title {
.accordion-sub-container.control-panel-content {
display: none;
position: absolute;
left: 300px;
left: 100%;
top: 0;
width: 300px;
width: 100%;
-webkit-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-theme-controls > ul > .accordion-section {
left: -300px;
width: 300px;
left: -100%;
width: 100%;
}
.in-sub-panel #customize-theme-controls .accordion-section.current-panel {