From 2481eec41d3c91ad05e40ef38e39b8e1f81bf4ee Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 17 Jun 2015 19:34:44 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/customize-controls.css | 13 +++++++------ src/wp-admin/css/customize-nav-menus.css | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 1e9d326fff..5f626a32c4 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -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); - padding: 12px; + 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; diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index 5bb64f6920..72a5527f69 100644 --- a/src/wp-admin/css/customize-nav-menus.css +++ b/src/wp-admin/css/customize-nav-menus.css @@ -31,7 +31,7 @@ } .wp-customizer .menu-item-bar .menu-item-handle { - max-width: 100%; + width: 100%; background: #fff; }