mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-24 16:06:58 +00:00
fixes for sidebar hidden
This commit is contained in:
parent
140d43500b
commit
fa42e6c10a
@ -23,10 +23,6 @@ tags: [[$:/tags/Stylesheet]]
|
|||||||
padding-left: {{$:/themes/tiddlywiki/centralised/metrics/storypaddingleft}};
|
padding-left: {{$:/themes/tiddlywiki/centralised/metrics/storypaddingleft}};
|
||||||
}
|
}
|
||||||
|
|
||||||
html[dir="rtl"] .tc-story-river, html[dir="rtl"] .tc-sidebar-scrollable {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
html .tc-sidebar-scrollable {
|
html .tc-sidebar-scrollable {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@ -40,10 +36,19 @@ tags: [[$:/tags/Stylesheet]]
|
|||||||
right: 50%;
|
right: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-right: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
margin-right: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-left: 42px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .tc-sidebar-left .tc-sidebar-scrollable {
|
||||||
padding-right: 42px;
|
padding-right: 42px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .tc-story-river, html[dir="rtl"] .tc-sidebar-scrollable {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
html .tc-tiddler-frame {
|
html .tc-tiddler-frame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1071,13 +1071,23 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<<if-no-sidebar "
|
<<if-no-sidebar """
|
||||||
|
|
||||||
.tc-story-river {
|
.tc-story-river {
|
||||||
width: calc(100% - max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}));
|
width: calc(100% - max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
">>
|
.tc-sidebar-left .tc-story-river {
|
||||||
|
left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .tc-sidebar-left .tc-story-river {
|
||||||
|
left: 0;
|
||||||
|
right: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
||||||
|
}
|
||||||
|
|
||||||
|
""">>
|
||||||
|
|
||||||
.tc-story-river.tc-static-story-river {
|
.tc-story-river.tc-static-story-river {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@ -1563,6 +1573,16 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-sidebar-left .tc-story-river {
|
||||||
|
margin-left: max(<<get.theme.metric metrics/storypaddingleft>>,calc(<<get.theme.metric metrics/storypaddingleft>> + {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}));
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .tc-sidebar-left .tc-story-river {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: max(<<get.theme.metric metrics/storypaddingleft>>,calc(<<get.theme.metric metrics/storypaddingleft>> + {{$:/themes/tiddlywiki/vanilla/metrics/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 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
width: calc(100% - 84px);
|
width: calc(100% - 84px);
|
||||||
|
Loading…
Reference in New Issue
Block a user