Issue #517 Part 3: Remove compact style

This commit is contained in:
wolfbeast 2018-06-20 17:44:20 +02:00 • committed by Roy Tam
commit 5c6b06ba5d
3 changed files with 1 additions and 19 deletions

View file

@ -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";
},
/**

View file

@ -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;

View file

@ -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>