Skip to content

Commit

Permalink
adjustment for sidebar left + storyleft
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningTreeC committed Nov 3, 2024
1 parent e1d0f1b commit dc6031b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions themes/tiddlywiki/vanilla/base.tid
Original file line number Diff line number Diff line change
Expand Up @@ -1029,9 +1029,9 @@ button.tc-btn-invisible.tc-remove-tag-button {
padding: 71px 0 28px <<get.theme.metric sidebarpadding>>;
}

.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(<<get.theme.metric storyleft>> + <<get.theme.metric storyminwidth>>),<<get.theme.metric storyright>>,calc(100% - <<get.theme.metric sidebarminwidth>> + <<get.theme.metric sidebarpadding>>));
right: clamp(calc(<<get.theme.metric storyleft>> + <<get.theme.metric storyminwidth>>),calc(<<get.theme.metric storyright>> + <<get.theme.metric storyleft>>),calc(100% - <<get.theme.metric sidebarminwidth>> + <<get.theme.metric storyleft>> + <<get.theme.metric sidebarpadding>>));
margin: 0 -<<get.theme.metric sidebarpadding>> 0 0;
z-index: 1;
}
Expand All @@ -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: <<get.theme.metric sidebarpadding>>;
padding-left: 0;
}

.tc-story-river {
left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
right: clamp(calc(<<get.theme.metric storyminwidth>> - <<get.theme.metric storyleft>>),calc(100% - <<get.theme.metric storywidth>>),calc(100% - <<get.theme.metric sidebarminwidth>>));
Expand Down

0 comments on commit dc6031b

Please sign in to comment.