1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 17:30:26 +00:00

correct margins of story-river when sidebar is hidden

This commit is contained in:
BurningTreeC 2024-11-10 19:11:18 +01:00
parent 499a052293
commit 275495e77a

View File

@ -1595,18 +1595,17 @@ html body.tc-body.tc-single-tiddler-window {
""" hiddenSidebarText:""" """ hiddenSidebarText:"""
.tc-story-river { .tc-story-river {
padding-right: 3em;
margin-right: 0; margin-right: 0;
} }
.tc-sidebar-left .tc-story-river { .tc-sidebar-left .tc-story-river {
margin-left: max(<<get.theme.metric storypaddingleft>>,calc(<<get.theme.metric storypaddingleft>> + <<get.theme.metric storyleft>>)); margin-left: max(0px,<<get.theme.metric storyleft>>);
margin-right: 0; margin-right: 0;
} }
html[dir="rtl"] .tc-sidebar-left .tc-story-river { html[dir="rtl"] .tc-sidebar-left .tc-story-river {
margin-left: 0; margin-left: 0;
margin-right: max(<<get.theme.metric storypaddingleft>>,calc(<<get.theme.metric storypaddingleft>> + <<get.theme.metric storyleft>>)); margin-right: max(0px,<<get.theme.metric storyleft>>);
} }
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame { body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {