1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-10 16:10:02 +00:00

correct margin-left of story-river when sidebar is on the left

This commit is contained in:
BurningTreeC 2024-11-10 10:53:36 +01:00
parent dca7367d8b
commit 6aaea70eba

View File

@ -1549,7 +1549,7 @@ html body.tc-body.tc-single-tiddler-window {
html[dir="rtl"] .tc-sidebar-left .tc-story-river, .tc-sidebar-left .tc-story-river {
margin-right: max(0px,<<get.theme.metric storyleft>>);
margin-left: clamp(calc(<<get.theme.metric sidebarminwidth>> - <<get.theme.metric sidebarpadding>>),calc(<<get.theme.metric sidebarwidth>> - <<get.theme.metric sidebarpadding>>),calc(100% - <<get.theme.metric storyleft>> - <<get.theme.metric storyminwidth>>));
margin-left: clamp(calc(<<get.theme.metric sidebarminwidth>> - <<get.story-sidebar.overlap>>),calc(<<get.theme.metric sidebarwidth>> - <<get.story-sidebar.overlap>>),calc(100% - <<get.theme.metric storyleft>> - <<get.theme.metric storyminwidth>>));
left: auto;
width: auto;
right: 0;