Bug 1108254 - fix hidpi icon in search, r=felipe
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 18 Dec 2014 12:41:14 +0000
changeset 220368 84b5923001d69e67c27069cb8f9969d332f4d0fc
parent 220367 aa3ff71c8b4d4465b8f64323a500cb5a654d4667
child 220369 f9cafb3df61a434a3f32138527c330d802575ed7
push id27985
push userryanvm@gmail.com
push dateThu, 18 Dec 2014 22:32:46 +0000
treeherdermozilla-central@9acb15a52030 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1108254
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1108254 - fix hidpi icon in search, r=felipe
browser/base/content/newtab/newTab.css
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -348,17 +348,17 @@ input[type=button] {
 #newtab-search-logo.magnifier {
   width: 38px; /* 26 image width + 6 left "padding" + 6 right "padding" */
   -moz-margin-end: 5px;
   background-size: 26px;
   background-image: url("chrome://browser/skin/magnifier.png");
 }
 
 @media not all and (max-resolution: 1dppx) {
-  #newtab-search-icon.magnifier {
+  #newtab-search-logo.magnifier {
     background-image: url("chrome://browser/skin/magnifier@2x.png");
   }
 }
 
 #newtab-search-logo[type="logo"] {
   background-size: 65px 26px;
   width: 77px; /* 65 image width + 6 left "padding" + 6 right "padding" */
 }