From c734b46731164c595aa36e4aebf5ab6e175bf95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Wed, 16 Sep 2026 23:26:47 +0300 Subject: [PATCH] file manager: tree height fits the free viewport space (sw otaman-v175) The tree box was capped at a fixed 65vh, which ignored the chrome above it (header, tabs, status, sub-tabs, sort/probe row), so the page itself grew a scrollbar once the tree hit its cap. pysimFsFitTree() now caps it to innerHeight - top - 12px at runtime (the inline 65vh stays as the no-JS fallback), re-run on resize, on render, on sub-tab/tab entry and when the probe status line appears. --- frontend/index.html | 45 ++++++++++++++++++++++++--------- frontend/sw.js | 2 +- frontend/tests/fs_probe.test.js | 2 +- frontend/tests/html.test.js | 4 +++ 4 files changed, 39 insertions(+), 14 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 991e7ba..a6c87c4 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1154,21 +1154,25 @@