I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit f83bd186 authored by idk's avatar idk
Browse files

set min-height of susidns iframe to the height of the browser's viewport, and...

set min-height of susidns iframe to the height of the browser's viewport, and automatically show the howitworks section on the susidns homepage. Gets rid of the double-scrollbar on the iframe
parent 33954094
No related branches found
No related tags found
No related merge requests found
......@@ -1344,7 +1344,7 @@ p:empty + .sb_notice {
#susidnsframe {
margin: 0 0 -2px;
height: 100vh !important;
min-height: 100vh !important;
width: 100%;
overflow: hidden;
}
......
......@@ -136,24 +136,6 @@ function initClickables() {
if (clickableForm2 != null) {
clickableForm2.addEventListener('click', ToggleImportFormTableView, true);
}
var pHow = document.getElementsByClassName("howitworks");
i = 0;
for (i = 0; i < pHow.length; i++) {
pHow[i].classList.add("invisible");
}
var idHow = document.getElementById("howitworks");
if (idHow != null) {
idHow.addEventListener('click', ToggleHowView, true);
}
var pWhat = document.getElementsByClassName("whatitis");
var idWhat = document.getElementById("whatitis");
if (idWhat != null) {
idWhat.classList.add("expanded");
idWhat.addEventListener('click', ToggleWhatView, true);
}
}
document.addEventListener("DOMContentLoaded", function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment