From bcb0bf1c1006b1bad7c7de52923dda477f11e84d Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 20 Jun 2018 17:44:20 +0200 Subject: Issue #517 Part 3: Remove compact style --- application/palemoon/base/content/newtab/grid.js | 3 --- application/palemoon/base/content/newtab/newTab.css | 15 --------------- application/palemoon/base/content/newtab/newTab.xhtml | 2 +- 3 files changed, 1 insertion(+), 19 deletions(-) (limited to 'application') diff --git a/application/palemoon/base/content/newtab/grid.js b/application/palemoon/base/content/newtab/grid.js index 88c2666fa..d060807db 100644 --- a/application/palemoon/base/content/newtab/grid.js +++ b/application/palemoon/base/content/newtab/grid.js @@ -157,9 +157,6 @@ var gGrid = { this._gridDefaultContent.nextSibling.remove(); } this._node.appendChild(fragment); - - document.getElementById("topsites-heading").textContent = - hasHistoryTiles ? "Your Top Sites" : "Top Sites"; }, /** diff --git a/application/palemoon/base/content/newtab/newTab.css b/application/palemoon/base/content/newtab/newTab.css index 37864f21e..edaefe53e 100644 --- a/application/palemoon/base/content/newtab/newTab.css +++ b/application/palemoon/base/content/newtab/newTab.css @@ -122,10 +122,6 @@ input[type=button] { pointer-events: none; } -body:not(.compact) #topsites-heading { - display: none; -} - /* * If you change the sizes here, make sure you * change the preferences: @@ -140,12 +136,6 @@ body:not(.compact) #topsites-heading { width: 290px; } -body.compact .newtab-cell { - width: 110px; - height: 110px; - margin: 12px; -} - /* SITES */ .newtab-site { position: relative; @@ -333,11 +323,6 @@ body.compact .newtab-cell { margin: 40px 0 15px; } -body.compact #searchContainer { - margin-top: 0; - margin-bottom: 80px; -} - #searchContainer[page-disabled] { opacity: 0; pointer-events: none; diff --git a/application/palemoon/base/content/newtab/newTab.xhtml b/application/palemoon/base/content/newtab/newTab.xhtml index 3017c02cb..723ee232f 100644 --- a/application/palemoon/base/content/newtab/newTab.xhtml +++ b/application/palemoon/base/content/newtab/newTab.xhtml @@ -72,7 +72,7 @@
-

+

-- cgit v1.2.3