diff --git a/core/wiki/functions/themes.tid b/core/wiki/functions/themes.tid index 2abcca962..66841d07f 100644 --- a/core/wiki/functions/themes.tid +++ b/core/wiki/functions/themes.tid @@ -108,7 +108,7 @@ code-body: yes \function get.current.theme() [{$:/theme}!is[blank]] :else[all[tiddlers+shadows]plugin-type[theme]plugin-priority[0]first[]] -\function get.theme.storywidthoverlap() [[sqrt(pow(]addsuffixaddsuffix[ - ]addsuffixaddsuffix[ - ]addsuffixaddsuffix[,2))]] +\function get.theme.storywidthoverlap() [[max((]addsuffixaddsuffix[ - ]addsuffixaddsuffix[ - ]addsuffixaddsuffix[),(-1 * (]addsuffixaddsuffix[ - ]addsuffixaddsuffix[ - ]addsuffixaddsuffix[)))]] \function get.theme.storyleftpadding.excess() [[calc(]addsuffixaddsuffix[ - ]addsuffixaddsuffix[)]]