From fbf299be4148077a4807af88fc52411bfc74e001 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Tue, 8 Oct 2024 20:19:37 +0200 Subject: [PATCH] fix edgecase in centralised theme fix --- core/wiki/macros/sidebar-resizer.tid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index 1958c9174..da431bd00 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -140,7 +140,8 @@ title: $:/core/macros/sidebar-resizer storyMaxWidth={{{ [subtractsubtract] }}} dragDiffMultiplied={{{ [multiply[2]] }}} storyWidthClamped={{{ [addaddsubtract] }}} - storyWidth={{{ [addsubtract] }}}> + storyWidth={{{ [add] }}} + storyWidth={{{ [compare:number:gt[0]thensubtract] ~[] }}} <$let storyWidthMetric={{$:/state/sidebar/resizing!!centralised-story-width-metric}}