mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-04 05:09:10 +00:00
adjustments for html dir=rtl
This commit is contained in:
parent
f6a7e4162e
commit
6b31a1129f
@ -1036,6 +1036,7 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html[dir="rtl"] .tc-sidebar-scrollable {
|
html[dir="rtl"] .tc-sidebar-scrollable {
|
||||||
|
padding-right: 42px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1054,7 +1055,12 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
|||||||
|
|
||||||
.tc-sidebar-left .tc-story-river {
|
.tc-sidebar-left .tc-story-river {
|
||||||
left: clamp(calc({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}} - <<get.theme.metric storypaddingleft>>),calc(100% - <<get.theme.metric storywidth>> - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - <<get.theme.metric storypaddingleft>>),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}} - <<get.theme.metric storypaddingleft>>));
|
left: clamp(calc({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}} - <<get.theme.metric storypaddingleft>>),calc(100% - <<get.theme.metric storywidth>> - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - <<get.theme.metric storypaddingleft>>),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}} - <<get.theme.metric storypaddingleft>>));
|
||||||
right: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + <<get.theme.metric storypaddingleft>>);
|
right: max(0px,calc({{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} + <<get.theme.metric storypaddingleft>>));
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .tc-sidebar-left .tc-story-river {
|
||||||
|
left: clamp(calc({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}),calc(100% - <<get.theme.metric storywidth>> - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}),calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}}));
|
||||||
|
right: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
||||||
}
|
}
|
||||||
|
|
||||||
html[dir="rtl"] .tc-story-river:not(.tc-sidebar-left .tc-story-river) {
|
html[dir="rtl"] .tc-story-river:not(.tc-sidebar-left .tc-story-river) {
|
||||||
|
Loading…
Reference in New Issue
Block a user