From 6b98a2d20f51500689f30c4bd83895629d2eba43 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sat, 5 Oct 2024 08:25:02 +0200 Subject: [PATCH] update base stylesheet --- themes/tiddlywiki/vanilla/base.tid | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index b02fd4f46..4a5c015d3 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1027,7 +1027,7 @@ button.tc-btn-invisible.tc-remove-tag-button { .tc-sidebar-scrollable { position: fixed; top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}}; - left: clamp({{$:/themes/tiddlywiki/vanilla/metrics/storywidth}},{{$:/themes/tiddlywiki/vanilla/metrics/storyright}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}})); + left: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}}; bottom: 0; right: 0; overflow-y: auto; @@ -1044,16 +1044,16 @@ button.tc-btn-invisible.tc-remove-tag-button { .tc-story-river { position: relative; - left: clamp(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}},calc(100% - max(calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyright}}),{{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}))); + left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}); top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}}; - width: clamp({{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/storywidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}})); + width: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}}; padding: 42px 42px 42px 42px; } <> @@ -1480,8 +1480,8 @@ html body.tc-body.tc-single-tiddler-window { position: relative; width: auto; left: 0; - margin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}; - margin-right: clamp({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}})); + margin-left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}); + margin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}}; } .tc-tiddler-frame { @@ -1492,7 +1492,7 @@ html body.tc-body.tc-single-tiddler-window { left: auto; bottom: 0; right: 0; - width: clamp({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}})); + width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}}; } body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {