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 225579 1f3d0612bdba38c0e7aa2b3c5cd4f234bafd7d9b
parent 225578 c35d9f79f1ff35799cb0ef6dabc82a4a3c3bd59e
child 225580 39f034a76a1d535e3fcc1c1d675dc4d2fd02f1b4
push id7120
push userryanvm@gmail.com
push dateFri, 17 Oct 2014 13:17:21 +0000
treeherdermozilla-aurora@39f034a76a1d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert, sledru
bugs1081157
milestone35.0a2
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 {