mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 00:16:52 +00:00
update sliderWidth between editor and preview
This commit is contained in:
parent
62333ce54c
commit
a253b6e01a
@ -49,6 +49,7 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
|
||||
template="tp-tiddler-preview"
|
||||
mode="inline"
|
||||
padding="0px"
|
||||
sliderWidth="6px"
|
||||
/>
|
||||
|
||||
</$let>
|
||||
|
@ -166,7 +166,7 @@ code-body: yes
|
||||
<$let classIdentifier={{{ [<textEditorWidthTiddler>removeprefix[$:/state/resizer/texteditorwidth-]] }}}>
|
||||
|
||||
.tc-edit-texteditor.tc-edit-texteditor-<<classIdentifier>> {
|
||||
width: calc(2 * (100% - {{{ [<textEditorWidthTiddler>get[text]] }}}));
|
||||
width: calc(2 * (100% - {{{ [<textEditorWidthTiddler>get[text]] }}}) - 3px);
|
||||
max-width: 200%;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user