Make WordPress Core

Changeset 48129


Ignore:
Timestamp:
06/22/2020 11:59:04 PM (5 years ago)
Author:
whyisjake
Message:

Administration: Remove unnecessary !important CSS rules from common.css

Fixes #47569.

Props foack, SergeyBiryukov, davidbaumwald, sabernhardt, isabel_brison, audrasjb.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/postbox.js

    r47410 r48129  
    210210
    211211            $.extend( this, args || {} );
    212             $('#wpbody-content').css('overflow','hidden');
    213212            $('.meta-box-sortables').sortable({
    214213                placeholder: 'sortable-placeholder',
  • trunk/src/wp-admin/css/common.css

    r48116 r48129  
    2727    float: left;
    2828    width: 100%;
    29     overflow: visible !important;
     29    overflow: visible;
    3030}
    3131
     
    12711271.filters-applied .filter-drawer .buttons,
    12721272.filters-applied .filter-drawer br {
    1273     display: none !important;
     1273    display: none;
    12741274}
    12751275
     
    16521652#contextual-help-wrap {
    16531653    overflow: auto;
    1654     margin-left: 0 !important;
     1654    margin-left: 0;
    16551655}
    16561656
     
    17231723    -webkit-font-smoothing: antialiased;
    17241724    -moz-osx-font-smoothing: grayscale;
    1725     text-decoration: none !important;
     1725    text-decoration: none;
    17261726    color: #72777c;
    17271727}
     
    20992099.postbox .inside > p:last-child,
    21002100.rss-widget ul li:last-child {
    2101     margin-bottom: 1px !important;
     2101    margin-bottom: 1px;
    21022102}
    21032103
     
    24072407}
    24082408
    2409 #submitdiv h3 {
    2410     margin-bottom: 0 !important;
    2411 }
    2412 
    24132409/* - Used - but could/should be deprecated with a CSS reset
    24142410------------------------------------------------------------------------------*/
     
    30173013    -webkit-font-smoothing: antialiased;
    30183014    -moz-osx-font-smoothing: grayscale;
    3019     text-decoration: none !important;
     3015    text-decoration: none;
    30203016}
    30213017
     
    33423338    -webkit-font-smoothing: antialiased;
    33433339    -moz-osx-font-smoothing: grayscale;
    3344     text-decoration: none !important;
     3340    text-decoration: none;
    33453341}
    33463342
     
    36663662    }
    36673663
    3668     /* @todo: evaluate - most of these were likely replaced by dashicons */
    3669     .curtime #timestamp,
    3670     #screen-meta-links a.show-settings,
    3671     .widget-top .widget-action,
    3672     .widget-top .widget-action:hover,
    3673     .sidebar-name .toggle-indicator,
    3674     .sidebar-name:hover .toggle-indicator,
    3675     .meta-box-sortables .postbox:hover .handlediv,
    3676     #bulk-titles div a,
    3677     #bulk-titles div a:hover {
    3678         background: none !important;
    3679     }
    3680 
    36813664}
    36823665
Note: See TracChangeset for help on using the changeset viewer.