summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-20 17:44:20 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-20 17:44:20 +0200
commitbcb0bf1c1006b1bad7c7de52923dda477f11e84d (patch)
tree1307adc78a9712f0eedbb08d351313d37aa87d25 /application/palemoon/base/content/newtab
parent56ddb90de1000c4ed8e95019805fa93d38b94231 (diff)
downloadUXP-bcb0bf1c1006b1bad7c7de52923dda477f11e84d.tar
UXP-bcb0bf1c1006b1bad7c7de52923dda477f11e84d.tar.gz
UXP-bcb0bf1c1006b1bad7c7de52923dda477f11e84d.tar.lz
UXP-bcb0bf1c1006b1bad7c7de52923dda477f11e84d.tar.xz
UXP-bcb0bf1c1006b1bad7c7de52923dda477f11e84d.zip
Issue #517 Part 3: Remove compact style
Diffstat (limited to 'application/palemoon/base/content/newtab')
-rw-r--r--application/palemoon/base/content/newtab/grid.js3
-rw-r--r--application/palemoon/base/content/newtab/newTab.css15
-rw-r--r--application/palemoon/base/content/newtab/newTab.xhtml2
3 files changed, 1 insertions, 19 deletions
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 @@
<div id="newtab-horizontal-margin">
<div class="newtab-side-margin"/>
<div id="newtab-grid">
- <h1 id="topsites-heading"/>
+ <!-- site grid -->
</div>
<div class="newtab-side-margin"/>
</div>