From eb24314209a9fc3bd72cfa10228fbd96422dacc9 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Tue, 12 Nov 2024 07:47:32 +0100 Subject: [PATCH] add tiddlerminwidth edge-case handling --- core/wiki/macros/sidebar-resizer.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index 7550a9cc9..45fab8f1d 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -171,7 +171,7 @@ title: $:/core/procedures/sidebar-resizer storyRightMax={{{ [] }}} tiddlerWidthStartPixels={{{ [match[%]thenmultiplydivide[100]] :else[convert.to.pixels.locally] }}} tiddlerWidthStoryWidthDiff={{{ [subtract] }}} - tiddlerMinWidth={{{ [subtractsubtract] }}} + tiddlerMinWidth={{{ [subtractsubtractcompare:number:lteq] :else[] }}} tiddlerWidthMax={{{ [subtract] }}} tiddlerWidth={{{ [add] }}} tiddlerWidth={{{ [compare:number:gtcompare:number:ltthen] :else[[]] }}}