Make WordPress Core

Changeset 30946


Ignore:
Timestamp:
12/16/2014 10:53:25 PM (10 years ago)
Author:
ocean90
Message:

About: Fix the WordPress badge.

css-clean (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the .svg CSS class.

see #30735.

File:
1 edited

Legend:

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

    r30921 r30946  
    4646.wp-badge {
    4747    background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat;
    48     background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */
    4948    background-position: center 24px;
    5049    -webkit-background-size: 85px 85px;
     
    6463}
    6564
     65.svg .wp-badge {
     66    background-image: url(../images/wordpress-logo-white.svg?ver=20131110);
     67}
    6668
    6769.about-wrap .wp-badge {
Note: See TracChangeset for help on using the changeset viewer.