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 225724 c00a4cfe83e9
parent 225723 1875f4aff106
child 225725 bb851de524c2
push id3992
push userryanvm@gmail.com
push date2014-10-17 13:09 +0000
treeherdermozilla-beta@f752e25f4c42 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert, sledru
bugs1081157
milestone34.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 {