Visual tweaks for mobile (#1692)

* Visual tweaks

* Exclude average when there's only one station
This commit is contained in:
Tim Wilkinson 2024-11-14 21:40:57 -08:00 committed by GitHub
parent 787e5f55fc
commit 635f5e714b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -126,7 +126,9 @@ for (let i = 0; i < length(stations); i++) {
</div> </div>
<div style="flex:0"> <div style="flex:0">
<select id="wifi-device"> <select id="wifi-device">
{% if (length(stations) !== 1) { %}
<option value="average">Average</option> <option value="average">Average</option>
{% } %}
{% {%
for (let i = 0; i < length(stations); i++) { for (let i = 0; i < length(stations); i++) {
const s = stations[i]; const s = stations[i];

View File

@ -326,7 +326,10 @@ body.mobile #ctrl-modal .tool-console pre
} }
body.mobile #ctrl-modal button#tool-start body.mobile #ctrl-modal button#tool-start
{ {
font-size: 12px; width: 50px;
height: 30px;
margin-bottom: 20px;
font-size: 14px;
} }
body.mobile #wifi-chart .cols:nth-child(2) body.mobile #wifi-chart .cols:nth-child(2)