mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 15:57:31 +09:00
Issue #517 Part 3: Remove compact style
This commit is contained in:
parent
1f2fcc868f
commit
5c6b06ba5d
3 changed files with 1 additions and 19 deletions
|
|
@ -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";
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue