From dc6031bd594cc68d2d142f90112096090882d402 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sun, 3 Nov 2024 11:10:04 +0100 Subject: [PATCH] adjustment for sidebar left + storyleft --- themes/tiddlywiki/vanilla/base.tid | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 37c49ec56..193a03eb2 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1029,9 +1029,9 @@ button.tc-btn-invisible.tc-remove-tag-button { padding: 71px 0 28px <>; } - .tc-sidebar-left .tc-sidebar-scrollable { + html[dir="rtl"] .tc-sidebar-left .tc-sidebar-scrollable, .tc-sidebar-left .tc-sidebar-scrollable { left: 0; - right: clamp(calc(<> + <>),<>,calc(100% - <> + <>)); + right: clamp(calc(<> + <>),calc(<> + <>),calc(100% - <> + <> + <>)); margin: 0 -<> 0 0; z-index: 1; } @@ -1041,11 +1041,6 @@ button.tc-btn-invisible.tc-remove-tag-button { padding-left: 0; } - html[dir="rtl"] .tc-sidebar-scrollable:not(.tc-sidebar-left .tc-sidebar-scrollable) { - padding-right: <>; - padding-left: 0; - } - .tc-story-river { left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}); right: clamp(calc(<> - <>),calc(100% - <>),calc(100% - <>));