From fefb98e4668205e8a2fcaed420db60dfbb5a6749 Mon Sep 17 00:00:00 2001 From: Robin Scholtes Date: Wed, 10 May 2023 15:39:15 +1200 Subject: [PATCH] [#181] add splitter column minimal widths to prevent unwanted overflows under any situation --- src/web/App.mjs | 2 +- src/web/TODO.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/web/App.mjs b/src/web/App.mjs index ac672ac0..159e3ae0 100755 --- a/src/web/App.mjs +++ b/src/web/App.mjs @@ -314,7 +314,7 @@ class App { this.columnSplitter = Split(["#operations", "#recipe", "#IO"], { sizes: [20, 30, 50], - minSize: minimise ? [0, 0, 0] : [20, 330, 50], + minSize: minimise ? [0, 0, 0] : [20, 330, 310], gutterSize: 4, expandToMin: true, onDrag: debounce(function() { diff --git a/src/web/TODO.md b/src/web/TODO.md index ed8a2c34..43fe7075 100644 --- a/src/web/TODO.md +++ b/src/web/TODO.md @@ -8,9 +8,6 @@ - maybe a bit annoying that the fav cat opens whenever you add a new fav via icon-fav-click on mobile - backspace on fs view should close max view. Keep making the same mistake and navigating away when for instance recipe is expanded and double click the window to fs > resolve. Reset layout -### Desktop -- fixed status panel ( rhs ) overlays recipe column if split all the way to the right - ### JS: - `core/Recipe.mjs`, `core/lib/Magic.js` return imports to original