diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index eed35d2f9..c8f14d907 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -92,7 +92,7 @@ title: $:/core/macros/sidebar-resizer storyWidthResult={{{ [compare:number:ltthenaddsuffix] ~[compare:number:gteqthenaddsuffix] ~[addsuffix] }}} - tiddlerWidthResult={{{ [match[%]thencompare:number:ltthen{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}] ~[match[%]thencompare:number:gteqthen{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}] ~[!match[%]thencompare:number:ltthenaddsuffix] ~[!match[%]thencompare:number:gteqthenaddsuffix] ~[addsuffix] }}}> + tiddlerWidthResult={{{ [match[%]thencompare:number:ltthen{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}compare:number:gteq[0]then{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}] ~[match[%]thencompare:number:gteqthen{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}] ~[!match[%]thencompare:number:ltthenaddsuffix] ~[!match[%]thencompare:number:gteqthenaddsuffix] ~[compare:number:lt[0]then[0]addsuffix] ~[addsuffix] }}}> <$action-setfield $tiddler="$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth" text=<>/> <$action-setfield $tiddler="$:/themes/tiddlywiki/vanilla/metrics/storywidth" text=<>/>