From e9efe2de0cf7d3ceba46456360fc11b285aa8de5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 28 Jul 2023 00:15:37 +0200 Subject: html: tweak styling --- html/index.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'html') diff --git a/html/index.html b/html/index.html index 8c4ebf1..b4baec0 100644 --- a/html/index.html +++ b/html/index.html @@ -10,13 +10,13 @@
-
+

-

refreshed every - seconds

-
+
@@ -210,16 +210,14 @@ function set_thermal(data) { let type = info['type']; let temp = info['temp'].toFixed(2) + '°C'; let row = $('') - .append($('', {'class': 'py-0'}) - .append($('', {'class': 'text-reset'}).text(type))) - .append($('', {'class': 'py-0 text-right'}) - .append($('', {'class': 'text-reset'}).html(temp))); + .append($('', {'class': 'pr-1'}).text(type)) + .append($('', {'class': 'pl-1 text-right'}).html(temp)); body.append(row); }); $('#thermal').empty(); $('#thermal').append($('
', {'class': 'table-responsive'}) - .append($('', {'class': 'table table-borderless table-sm text-nowrap mb-0'}) + .append($('
', {'class': 'text-nowrap', 'style': 'width: 100%;'}) .append(body))); } -- cgit v1.2.3