Skip to content

Commit

Permalink
Updated with changes for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
deb-cod authored Jul 5, 2024
1 parent 2a9cfc9 commit 8ce8a51
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docker/standalone.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ function I(i){return document.getElementById(i);}
s.setParameter("getIp_ispInfo_distance","<?=getenv("DISTANCE") ?>");
<?php } ?>

var meterBk = /Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent) ? "#EAEAEA" : "#80808040";
var s = new Speedtest(); //create speedtest object
s.setParameter("telemetry_level", "basic"); //enable telemetry

var meterBk = /Trident.*rv:(\d+\.\d+)/i.test(navigator.userAgent) ? "#EAEAEA" : "#80808040";
var dlColor = "#6060AA",
ulColor = "#616161";
var progColor = meterBk;
Expand Down Expand Up @@ -302,7 +305,7 @@ function initUI() {
width: 100%;
border-radius: 8px;
padding-top: 44px;
padding-bottom:10px;
padding-bottom: 10px;


}
Expand Down Expand Up @@ -403,7 +406,7 @@ function initUI() {
div.testArea, div.testArea2 {
display: flex;
width:100%;
width: 250px;
max-width: 250px;
padding: 24px 33px 24px 24px;
flex-direction: column;
align-items: flex-start;
Expand All @@ -412,9 +415,6 @@ function initUI() {
border-radius: 16px;
border: 1px solid var(--Monochrome-Grey-7, #D1D5DB);
background: var(--Monochrome-White, #FFF);



}

#testWrapper {
Expand Down Expand Up @@ -496,7 +496,6 @@ function initUI() {
@media (max-width: 750px) {
.container .testArea,
.container .testArea2 {
max-width: 150px;
padding: 12px;
border-radius: 8px;
gap: 6px;
Expand Down

0 comments on commit 8ce8a51

Please sign in to comment.