diff --git a/assets/css/main.css b/assets/css/main.css index 7ed9588..9afb33f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -3868,23 +3868,11 @@ input, select, textarea { /* Sponsor bar */ #sponsor { - padding: 2.5em 2.5em 0.5em 2.5em ; background: #EE6C4D; color: #FFFFFF; cursor: default; - height: 7em; - height: 0; - left: 0; - overflow-x: auto; - overflow-y: auto; - position: relative; text-align: center; - top: 3.5em; - width: 18em; - z-index: 10000; width: 100%; - padding: 0; - line-height: 3.5em; transition-property:height; transition-duration:1s; } diff --git a/index.html b/index.html index f9c9d89..2ffdc75 100644 --- a/index.html +++ b/index.html @@ -93,14 +93,20 @@
- -

Progress

+ + + +
diff --git a/renderer.js b/renderer.js index cf95244..42a309d 100644 --- a/renderer.js +++ b/renderer.js @@ -509,7 +509,7 @@ function uploadFW() console.log("Using port: " + uploadPort); //Show the sponsor banner - document.getElementById('sponsor').style.height = "7em" + document.getElementById('sponsorbox').style.display = "block" //Begin the upload if(uploadBoard.includes("TEENSY")) @@ -553,7 +553,7 @@ function uploadFW() statusText.innerHTML = "Upload to Speeduino failed"; //Hide the donation bar as it makes the terminal go offscreen - document.getElementById('sponsor').style.height = 0; + document.getElementById('sponsorbox').style.display = "none" //Mke the terminal/error section visible document.getElementById('terminalSection').style.display = "block";