WordPress.org

Make WordPress Core

Changeset 32821


Ignore:
Timestamp:
06/17/2015 07:34:44 PM (5 years ago)
Author:
ocean90
Message:

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

IE8 doesn't support calc().

props afercia.
see #31336.
fixes #32664.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r32649 r32821  
    211211
    212212#customize-theme-controls .accordion-section-content {
     213    position: absolute;
     214    top: 0;
     215    left: 100%;
     216    width: 100%;
    213217    margin: 0;
    214     position: absolute;
    215     left: 100%;
    216     top: 0;
    217     width: -webkit-calc(100% - 24px);
    218     width: calc(100% - 24px);
    219     padding: 12px;
     218    padding: 12px;
     219    -webkit-box-sizing: border-box;
     220    -moz-box-sizing: border-box;
     221    box-sizing: border-box;
    220222}
    221223
     
    10741076    padding: 0 8px;
    10751077    background: #f1f1f1;
    1076     box-sizing: border-box;
    10771078    -webkit-box-sizing: border-box;
    10781079    -moz-box-sizing: border-box;
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r32808 r32821  
    3232
    3333.wp-customizer .menu-item-bar .menu-item-handle {
    34     max-width: 100%;
     34    width: 100%;
    3535    background: #fff;
    3636}
Note: See TracChangeset for help on using the changeset viewer.