Customizer: Replace usage of `calc()` with `box-sizing: border-box`.

IE8 doesn't support `calc()`.

props afercia.
see #31336.
fixes #32664.

git-svn-id: https://develop.svn.wordpress.org/trunk@32821 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-06-17 19:34:44 +00:00
parent 3f215c6d1a
commit 2481eec41d
2 changed files with 8 additions and 7 deletions

View File

@ -210,13 +210,15 @@ body {
}
#customize-theme-controls .accordion-section-content {
margin: 0;
position: absolute;
left: 100%;
top: 0;
width: -webkit-calc(100% - 24px);
width: calc(100% - 24px);
left: 100%;
width: 100%;
margin: 0;
padding: 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.customize-section-description-container {
@ -1073,7 +1075,6 @@ p.customize-section-description {
display: none;
padding: 0 8px;
background: #f1f1f1;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;

View File

@ -31,7 +31,7 @@
}
.wp-customizer .menu-item-bar .menu-item-handle {
max-width: 100%;
width: 100%;
background: #fff;
}