Make WordPress Core

Changeset 41999


Ignore:
Timestamp:
10/24/2017 08:29:00 PM (9 years ago)
Author:
melchoyce
Message:

Code Editors: Tweak styles to work better on smaller screens.

See #42100.

File:
1 edited

Legend:

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

    r41978 r41999  
    37573757
    37583758        /* Theme/Plugin File Editor */
     3759       
     3760        #template textarea,
     3761        #template .CodeMirror {
     3762                box-sizing: border-box;
     3763        }
     3764       
    37593765        #templateside {
    37603766                float: none;
    37613767                width: auto;
     3768        }
     3769       
     3770        #templateside > ul {
     3771                border-left: 1px solid #ddd;
    37623772        }
    37633773
    … …  
    38153825        }
    38163826        .wrap #templateside span.notice {
    3817                 margin-left: -14px;
     3827                margin-left: -5px;
     3828                width: 100%;
    38183829        }
    38193830
    38203831        .fileedit-sub .alignright {
     3832                float: left;
    38213833                margin-top: 15px;
     3834                width: 100%;
     3835                text-align: left;
     3836        }
     3837       
     3838        .fileedit-sub .alignright label {
     3839                display: block;
     3840        }
     3841       
     3842        .fileedit-sub #theme,
     3843        .fileedit-sub #plugin {
     3844                margin-left: 0;
     3845            max-width: 70%;
     3846        }
     3847       
     3848        .fileedit-sub input[type="submit"] {
     3849                margin-bottom: 0px;
     3850                padding: 8px 18px;
     3851        }
     3852       
     3853        #documentation label[for="docs-list"] {
     3854                display: block;
     3855        }
     3856       
     3857        #documentation select[name="docs-list"] {
     3858                margin-left: 0;
     3859                max-width: 60%;
     3860        }
     3861       
     3862        #documentation input[type="button"] {
     3863                margin-bottom: 0;
     3864                padding: 8px 18px;
    38223865        }
    38233866
Note: See TracChangeset for help on using the changeset viewer.