1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 01:10:28 +00:00
This commit is contained in:
BurningTreeC 2024-11-01 06:41:04 +01:00
parent ce244fe8c4
commit 324ead820f
4 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ title: $:/core/ui/EditTemplate/body/default
\function get.style.grid-template-columns()
[<get.edit-preview-state>!match[yes]then[1fr]]
:else[<sidebarWidthTiddler>!is[missing]then[calc(100% - ]addsuffix<get.preview.width>addsuffix[) ]addsuffix<get.preview.width>]
:else[<sidebarWidthTiddler>is[tiddler]then[calc(100% - ]addsuffix<get.preview.width>addsuffix[) ]addsuffix[calc(]addsuffix<get.preview.width>addsuffix[)]]
:else[[repeat(2, minmax(0px, 1fr))]]
\end

View File

@ -6,7 +6,7 @@ code-body: yes
\import $:/core/procedures/sidebar-resizer
\function get.resizer.style.position() absolute
\function get.template-right.width() [<sidebarWidthTiddler>get[text]] :else[[50%]]
\function get.resizer.style.left() [[calc(100% - ]addsuffix<get.template-right.width>addsuffix[)]]
\function get.resizer.style.left() [[calc(100% - ]addsuffix<get.template-right.width>addsuffix[ - 3px)]]
\function get.resizer.style.width() [<sliderWidth>]
\function set.throttling() no
\function get.template.left()
@ -33,7 +33,7 @@ code-body: yes
$variable="editor-resizer"
template=<<template>>
sliderCondition=<<sliderCondition>>
eventCatcherClass="tc-one-cell-eventcatcher"
eventCatcherClass="tc-editor-preview-eventcatcher"
mode=<<mode>>
/>

View File

@ -1708,7 +1708,7 @@ html body.tc-body.tc-single-tiddler-window {
overflow-wrap: anywhere;
word-break: normal;
border: 1px solid <<colour tiddler-editor-border>>;
margin: 4px 0 3px 9px;
margin: 4px 0 3px 3px;
padding: 3px 3px 3px 3px;
}

View File

@ -40,7 +40,7 @@ code-body: yes
height: 100%;
}
.tc-edit-texteditor-slider > .tc-sidebar-resizer-pointerdown-eventcatcher.tc-one-cell-eventcatcher {
.tc-edit-texteditor-slider > .tc-sidebar-resizer-pointerdown-eventcatcher.tc-editor-preview-eventcatcher {
position: absolute;
width: 100%;
top: 0;