mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-09 08:50:26 +00:00
further adjustments for rtl and sidebar left
This commit is contained in:
parent
0bf23494a0
commit
140d43500b
@ -34,10 +34,14 @@ tags: [[$:/tags/Stylesheet]]
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
html body.tc-body div.tc-sidebar-scrollable {
|
||||
html body.tc-body div.tc-sidebar-scrollable, html[dir="rtl"] body.tc-body div.tc-sidebar-scrollable {
|
||||
padding: 12px 0 12px 12px;
|
||||
}
|
||||
|
||||
html body.tc-body .tc-sidebar-left div.tc-sidebar-scrollable, html[dir="rtl"] body.tc-body .tc-sidebar-left div.tc-sidebar-scrollable {
|
||||
padding: 12px 12px 12px 0;
|
||||
}
|
||||
|
||||
<%if [{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}match[fixed-fluid]] %>
|
||||
|
||||
html body.tc-body div.tc-sidebar-scrollable {
|
||||
@ -110,6 +114,7 @@ tags: [[$:/tags/Stylesheet]]
|
||||
|
||||
html body.tc-body .tc-sidebar-resizer {
|
||||
width: 12px;
|
||||
right: auto;
|
||||
left: clamp(calc({{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}}),clamp(calc({{$:/themes/tiddlywiki/tight/metrics/storywidth}}),max(calc({{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + {{$:/themes/tiddlywiki/tight/metrics/storywidth}}),calc({{$:/themes/tiddlywiki/tight/metrics/storyright}})),max(calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}} + ({{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + {{$:/themes/tiddlywiki/tight/metrics/storywidth}} - {{$:/themes/tiddlywiki/tight/metrics/storyright}})),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}))),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}));
|
||||
}
|
||||
|
||||
@ -122,6 +127,7 @@ tags: [[$:/tags/Stylesheet]]
|
||||
|
||||
html body.tc-body .tc-sidebar-resizer {
|
||||
left: clamp(calc({{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}}),calc(100% - {{$:/themes/tiddlywiki/tight/metrics/sidebarwidth}}),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}));
|
||||
right: auto;
|
||||
}
|
||||
|
||||
html body.tc-body .tc-sidebar-left .tc-sidebar-resizer {
|
||||
|
@ -3615,6 +3615,36 @@ span.tc-translink > a:first-child {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-tiny-gap-left {
|
||||
margin-right: .25em;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-tiny-gap-right {
|
||||
margin-left: .25em;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-small-gap-left {
|
||||
margin-right: .5em;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-small-gap-right {
|
||||
margin-left: .5em;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-big-gap-left {
|
||||
margin-right: 1em;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .tc-big-gap-right {
|
||||
margin-left: 1em;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* Vertical gaps */
|
||||
|
||||
.tc-tiny-v-gap-bottom {
|
||||
|
Loading…
Reference in New Issue
Block a user