diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index c8f14d907..deec51a45 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}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] }}}> + tiddlerWidthResult={{{ [match[%]thencompare:number:ltthen{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}compare:number:gteq[0]then{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}] ~[match[%]thencompare:number:gtthen{$:/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=<>/> diff --git a/themes/tiddlywiki/centralised/styles.tid b/themes/tiddlywiki/centralised/styles.tid index 5d8da1122..ebf32f54b 100644 --- a/themes/tiddlywiki/centralised/styles.tid +++ b/themes/tiddlywiki/centralised/styles.tid @@ -24,4 +24,8 @@ tags: [[$:/tags/Stylesheet]] margin-left: calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px); width: auto; } + + html .tc-tiddler-frame { + width: 100%; + } }