Make WordPress Core

Ticket #49228: 49228.3.diff

File 49228.3.diff, 1.2 KB (added by afercia, 4 years ago)
  • src/wp-admin/css/widgets.css

     
    4848        line-height: 1.23076923;
    4949}
    5050
    51 .widgets-holder-wrap .widget-inside label {
    52         margin: 0.25em 0 0.5em;
    53         display: inline-block;
    54 }
    55 
    5651.widget.widget-dirty .widget-control-close-wrapper {
    5752        display: none;
    5853}
     
    796791/* =Media Queries
    797792-------------------------------------------------------------- */
    798793
     794@media screen and (max-width: 782px) {
     795        /* Default widgets non-wrapping labels. */
     796        .widgets-holder-wrap .widget-inside label {
     797                margin: 0.25em 0 0.5em;
     798                display: inline-block;
     799        }
     800
     801        /*
     802         * Default widgets now use a non-wrapping label. Custom widgets may still use
     803         * a wrapping one. This makes sure the wrapping label of the title inputs always
     804         * takes all the available width. Assumes all the title input labels `for`
     805         * attributes end with `title`.
     806         */
     807        .widgets-holder-wrap .widget-inside label[for$="title"] {
     808                display: inline;
     809        }
     810}
     811
    799812@media screen and (max-width: 480px) {
    800813        div.widget-liquid-left {
    801814                width: 100%;