Make WordPress Core

Changeset 36264


Ignore:
Timestamp:
01/11/2016 11:04:40 PM (9 years ago)
Author:
afercia
Message:

Menus screen: improve responsiveness of select elements.

Props Luan-Ramos, sagarjadhav.
Fixes #31826.

File:
1 edited

Legend:

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

    r36016 r36264  
    8787}
    8888
    89 .manage-menus select {
    90     float: left;
    91     margin-right: 6px;
    92 }
    93 
    94 .manage-menus .selected-menu {
    95     float: left;
    96     margin: 5px 6px 0 0;
    97 }
    98 
    99 .manage-menus .submit-btn {
    100     float: left;
    101     margin-top: 1px;
     89.manage-menus .selected-menu,
     90.manage-menus select,
     91.manage-menus .submit-btn,
     92.nav-menus-php .add-new-menu-action {
     93    display: inline-block;
     94    margin-right: 3px;
     95    vertical-align: middle;
     96}
     97
     98.manage-menus select,
     99.menu-location-menus select {
     100    max-width: 100%;
    102101}
    103102
     
    213212}
    214213
    215 .widefat .menu-locations tr + tr td {
    216     padding-top: 0;
    217 }
    218 
    219 .widefat .menu-locations td {
    220     vertical-align: middle;
     214.widefat .menu-locations .menu-location-title {
     215    padding: 13px 10px 0;
    221216}
    222217
     
    307302    margin: 0 0 10px;
    308303    padding: 0;
    309 }
    310 
    311 .nav-menus-php .add-new-menu-action {
    312     float: left;
    313     margin: 6px 0 0 6px;
    314     line-height: 15px;
    315304}
    316305
     
    924913        margin-bottom: 15px;
    925914    }
     915
     916    .manage-menus select {
     917        margin: 0.5em 0;
     918    }
     919
     920    .widefat .menu-locations .menu-location-title {
     921        padding-top: 16px;
     922    }
    926923}
    927924
Note: See TracChangeset for help on using the changeset viewer.