From 15e219795dddd35b77c01b7eba044da1951b03e1 Mon Sep 17 00:00:00 2001 From: YuanhuanO Date: Tue, 18 Jun 2024 22:27:22 -0400 Subject: [PATCH] small deletions --- daisen/static/dist/index.html | 2 -- daisen/static/src/dashboard.ts | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/daisen/static/dist/index.html b/daisen/static/dist/index.html index faafed3..6a9e08d 100644 --- a/daisen/static/dist/index.html +++ b/daisen/static/dist/index.html @@ -59,13 +59,11 @@
-
-
diff --git a/daisen/static/src/dashboard.ts b/daisen/static/src/dashboard.ts index c1b5b95..9e3cf64 100644 --- a/daisen/static/src/dashboard.ts +++ b/daisen/static/src/dashboard.ts @@ -153,13 +153,13 @@ class Dashboard { const height = window.innerHeight; this._numCol = rowColTable[this._numWidget][0]; this._numRow = rowColTable[this._numWidget][1]; - if (width >= 800) { + if (width >= 1200) { this._numCol = 4; } - if (width < 800 && width >= 500) { + if (width < 1200 && width >= 800) { this._numCol = 3; } - if (width < 500) { + if (width < 800) { this._numCol = 2; } console.log(width, height);