mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
further adjustments
This commit is contained in:
parent
03a860f535
commit
910cffb4e2
@ -11,7 +11,7 @@ tags: [[$:/tags/Stylesheet]]
|
||||
|
||||
html .tc-story-river {
|
||||
position: relative;
|
||||
width: {{$:/themes/tiddlywiki/centralised/metrics/storywidth}};
|
||||
width: min({{$:/themes/tiddlywiki/centralised/metrics/storywidth}},calc(100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})));
|
||||
padding: 42px;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
@ -21,7 +21,7 @@ tags: [[$:/tags/Stylesheet]]
|
||||
text-align: left;
|
||||
left: 50%;
|
||||
right: 0;
|
||||
margin-left: calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px);
|
||||
margin-left: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ code-body: yes
|
||||
<%elseif [{$:/theme}match[$:/themes/tiddlywiki/centralised]] %>
|
||||
|
||||
.tc-sidebar-resizer {
|
||||
left: calc(50% + ({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2) - 28px);
|
||||
left: min(calc(50% + ({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2) - 28px),calc(100% - {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}} - 28px));
|
||||
}
|
||||
|
||||
<% endif %>
|
||||
|
Loading…
Reference in New Issue
Block a user