From c2ae885cc3a64115db0095d3e09110990c4f3a6b Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Wed, 9 Oct 2024 13:20:52 +0200 Subject: [PATCH] fix another edgecase --- core/wiki/macros/sidebar-resizer.tid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index ba9ee6d8e..6f419c020 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -125,7 +125,9 @@ title: $:/core/macros/sidebar-resizer sidebarMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}] }}} storyLeft={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] }}} storyMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}] }}} - sidebarMaxWidth={{{ [subtractsubtract] }}}> + sidebarMaxWidth={{{ [subtractsubtract] }}} + clampedDiff={{{ [addaddsubtractcompare:number:gt[0]] ~0 }}} + sidebarWidth={{{ [subtract] }}}> <$vars sidebarWidthConverted={{{ [function[convert.to.result],,] }}}