web: fit the hostname in the sidebar, widen the number fields and the page

The default hostname (RTLPlayground- plus six hex digits) overflows the
200 px sidebar; clip it with an ellipsis and keep the full name in the
title. The MTU and Mbit/s fields were 70 px, which leaves no room for five
digits next to a number spinner. The main column stops at 1400 px instead
of 1100 px so the dashboard cards sit side by side on a wide screen.
This commit is contained in:
bloqaudio committed 2026-09-14 08:03:36 -05:00
1 parent b7621fad31
commit 65417433eb
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -687,7 +687,7 @@ function renderInfo(){
if(v==null||v==="")return;
tb.appendChild(h("tr",null,[h("td",{class:"mut",text:t(r[0])}),h("td",{class:"mono",text:String(v)})]));
});
if(S.info.hostname)$("brandname").textContent=S.info.hostname;
if(S.info.hostname)$("brandname").textContent=$("brandname").title=S.info.hostname;
if(S.info.sw_ver)$("fver").textContent="RTLPlayground "+S.info.sw_ver;
}
function pollInfo(){