From fabd47a2ff63b71e5f4b8045fc3e707c33d49b1c Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 16 Dec 2014 22:53:25 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@30946 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/about.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 1a82fff6e8..4defbe1935 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -45,7 +45,6 @@ .wp-badge { background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat; - background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */ background-position: center 24px; -webkit-background-size: 85px 85px; background-size: 85px 85px; @@ -63,6 +62,9 @@ box-shadow: 0 1px 3px rgba(0,0,0,0.2); } +.svg .wp-badge { + background-image: url(../images/wordpress-logo-white.svg?ver=20131110); +} .about-wrap .wp-badge { position: absolute; @@ -474,4 +476,4 @@ .about-wrap .feature-list.finer-points p { margin-left: 80px; } -} \ No newline at end of file +}