Make WordPress Core

Changeset 42189 for trunk


Ignore:
Timestamp:
11/15/2017 06:28:33 PM (7 years ago)
Author:
westonruter
Message:

File Editor: Eliminate gap inserted between code editor and heading in IE11 when CodeMirror initializes.

Props afercia, melchoyce, Clorith for testing, SergeyBiryukov for testing.
See #12423.
Fixes #42554 for trunk.

File:
1 edited

Legend:

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

    r42155 r42189  
    861861#media-items a.delete-permanently,
    862862#nav-menu-footer .menu-delete,
    863 #delete-link a.delete  {
     863#delete-link a.delete {
    864864    color: #a00;
    865865}
     
    30433043    height: calc( 100vh - 295px );
    30443044    border: 1px solid #ddd;
     3045    box-sizing: border-box;
    30453046}
    30463047
     
    30613062    overflow: auto;
    30623063    padding: 0;
    3063     min-height: calc(60vh + 2px);
    3064     height: calc(100vh - 293px);
     3064    min-height: 60vh;
     3065    height: calc(100vh - 295px);
    30653066    background-color: #f7f7f7;
    30663067    border: 1px solid #ddd;
     
    37613762
    37623763    /* Theme/Plugin File Editor */
    3763    
    3764     #template textarea, 
     3764
     3765    #template textarea,
    37653766    #template .CodeMirror {
    37663767        box-sizing: border-box;
    37673768    }
    3768    
     3769
    37693770    #templateside {
    37703771        float: none;
    37713772        width: auto;
    37723773    }
    3773    
     3774
    37743775    #templateside > ul {
    37753776        border-left: 1px solid #ddd;
     
    38423843        text-align: left;
    38433844    }
    3844    
     3845
    38453846    .fileedit-sub .alignright label {
    38463847        display: block;
    38473848    }
    3848    
    3849     .fileedit-sub #theme, 
     3849
     3850    .fileedit-sub #theme,
    38503851    .fileedit-sub #plugin {
    38513852        margin-left: 0;
    3852         max-width: 70%;
    3853     }
    3854    
     3853        max-width: 70%;
     3854    }
     3855
    38553856    .fileedit-sub input[type="submit"] {
    38563857        margin-bottom: 0px;
    38573858        padding: 8px 18px;
    38583859    }
    3859    
     3860
    38603861    #documentation label[for="docs-list"] {
    38613862        display: block;
    38623863    }
    3863    
     3864
    38643865    #documentation select[name="docs-list"] {
    38653866        margin-left: 0;
    38663867        max-width: 60%;
    38673868    }
    3868    
     3869
    38693870    #documentation input[type="button"] {
    38703871        margin-bottom: 0;
Note: See TracChangeset for help on using the changeset viewer.