Bug 1081157 - "What is this page" link appears on "blank" version of about:newtab. r=ttaubert, a=sledru
authorEd Lee <edilee@mozilla.com>
Fri, 10 Oct 2014 09:31:54 -0700
changeset 222157 d69a0e8a853d09a239f27947b30cd1781ae1958b
parent 222156 7dc8f5f9ad9eb15724a59c586dd6633c29116561
child 222158 d96967b7f22afe846a8dffe58bc973a68744284d
push id3
push usergszorc@mozilla.com
push dateWed, 29 Oct 2014 02:45:36 +0000
reviewersttaubert, sledru
bugs1081157
milestone33.0
Bug 1081157 - "What is this page" link appears on "blank" version of about:newtab. r=ttaubert, a=sledru Hide the link with css display: none when page is disabled.
browser/base/content/newtab/newTab.css
--- a/browser/base/content/newtab/newTab.css
+++ b/browser/base/content/newtab/newTab.css
@@ -56,16 +56,20 @@ input[type=button] {
   top: 15px;
 }
 
 #newtab-intro-what:-moz-locale-dir(rtl) {
   left: 55px;
   right: auto;
 }
 
+#newtab-scrollbox[page-disabled] #newtab-intro-what {
+  display: none;
+}
+
 #newtab-intro-panel {
   color: #6a7b86;
   font-size: 15px;
   line-height: 19px;
   width: 520px;
 }
 
 #newtab-intro-panel h1 {