WordPress.org

Make WordPress Core

Changeset 31890


Ignore:
Timestamp:
03/25/2015 10:24:37 PM (6 years ago)
Author:
ocean90
Message:

Improve alignment of labels and inputs in Quick Edit.

props mattheu, valendesigns.
fixes #31408.

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

Legend:

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

    r31865 r31890  
    814814.inline-edit-row fieldset .inline-edit-group {
    815815    clear: both;
     816    line-height: 2.5;
    816817}
    817818
     
    840841    margin: .2em 0;
    841842    padding: 0;
    842     line-height: 23px;
     843    line-height: 2.5;
    843844}
    844845.inline-edit-row fieldset span.title,
     
    846847    margin: 0;
    847848    padding: 0;
    848     line-height: 27px;
    849849}
    850850
     
    853853    display: block;
    854854    margin: .2em 0;
     855    line-height: 2.5;
    855856}
    856857
     
    868869    float: left;
    869870    width: 5em;
     871    line-height: 2.5;
    870872}
    871873
     
    880882}
    881883
     884.inline-edit-row .inline-edit-or {
     885    margin: .2em 6px .2em 0;
     886    line-height: 2.5;
     887}
     888
    882889.inline-edit-row .input-text-wrap input[type=text] {
    883890    width: 100%;
     
    885892
    886893.inline-edit-row fieldset label input[type=checkbox] {
    887     vertical-align: text-bottom;
     894    vertical-align: middle;
    888895}
    889896
     
    891898    width: 100%;
    892899    height: 4em;
     900    vertical-align: top;
    893901}
    894902
     
    919927.inline-edit-row fieldset span.checkbox-title {
    920928    font-style: italic;
    921     line-height: 1.8em;
    922929}
    923930
     
    17061713    }
    17071714
     1715    .inline-edit-row .inline-edit-or {
     1716        margin: 0 6px 0 0;
     1717    }
     1718
    17081719    #bulk-titles div {
    17091720        margin: 0.8em 0.3em;
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r31862 r31890  
    11131113                </label>
    11141114
    1115                 <em style="margin:5px 10px 0 0" class="alignleft">
     1115                <em class="alignleft inline-edit-or">
    11161116                    <?php
    11171117                    /* translators: Between password field and private checkbox on post quick edit interface */
Note: See TracChangeset for help on using the changeset viewer.