WordPress.org

Make WordPress Core

Changeset 26710


Ignore:
Timestamp:
12/06/2013 01:01:40 AM (8 years ago)
Author:
iammattthomas
Message:

At responsive sizes, remove the hard-coded fixed positioning for Comments and Add New in the toolbar. Make links slightly wider to better fill small-screen devices. Fixes #26432.

File:
1 edited

Legend:

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

    r26687 r26710  
    766766    #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
    767767        padding: 0;
    768         width: 50px;
     768        width: 55px;
    769769        height: 46px;
    770770        text-align: center;
     
    789789        white-space: nowrap;
    790790        overflow: hidden;
    791         width: 50px;
     791        width: 55px;
    792792        padding: 0;
    793793        color: #999;
     
    955955    }
    956956
    957     #wpadminbar #wp-admin-bar-comments,
    958     #wpadminbar #wp-admin-bar-new-content,
    959957    #wpadminbar #wp-admin-bar-my-account {
    960958        float: right;
    961959    }
    962960
    963     #wpadminbar #wp-admin-bar-comments .ab-sub-wrapper,
    964     #wpadminbar #wp-admin-bar-new-content .ab-sub-wrapper,
    965961    #wpadminbar #wp-admin-bar-my-account .ab-sub-wrapper {
    966962        right: 0;
     
    968964    }
    969965
    970     #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-comments {
    971         margin-right: 100px;
    972     }
    973 
    974     #wpadminbar ul#wp-admin-bar-root-default > li#wp-admin-bar-new-content {
    975         margin-right: -98px;
    976     }
    977 
    978     #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
    979         margin-right: -150px;
    980     }
     966
    981967
    982968    .network-admin #wpadminbar ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account {
Note: See TracChangeset for help on using the changeset viewer.