From 3c234116eb800f616215ef5048f1ead9bcc347bd Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Wed, 6 Nov 2024 11:08:01 +0100 Subject: [PATCH] make minwidth in fluid-fixed same as in fixed-fluid --- core/wiki/macros/sidebar-resizer.tid | 2 +- themes/tiddlywiki/vanilla/base.tid | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index 6365bd0e1..9c4f2fb8d 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -249,7 +249,7 @@ title: $:/core/procedures/sidebar-resizer storyLeftValue={{{ [!is[blank]is[tiddler]get[text]] :else[!is[blank]is[missing]then] :else[] }}} storyLeft={{{ [convert.to.pixels.locally] }}} storyMinWidthValue={{{ [!is[blank]is[tiddler]get[text]] :else[!is[blank]is[missing]then] :else[] }}} - storyMinWidth={{{ [convert.to.pixels.locally] }}} + storyMinWidth={{{ [convert.to.pixels.locallysubtract] }}} sidebarMaxWidth={{{ [subtractsubtract] }}} clampedDiff={{{ [addaddsubtractcompare:number:gt[0]] :else[[0]] }}} sidebarWidth={{{ [subtract] }}} diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 785b6087b..430469d17 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1541,6 +1541,10 @@ html body.tc-body.tc-single-tiddler-window { margin-right: clamp(calc(<> - <>),calc(<> - <>),calc(100% - <> - <>)); } + .tc-story-river { + margin-right: calc(<> - <>); + } + html[dir="rtl"] .tc-sidebar-left .tc-story-river, .tc-sidebar-left .tc-story-river { margin-right: max(0px,<>); margin-left: clamp(calc(<> - <>),calc(<> - <>),calc(100% - <> - <>));