mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-15 13:18:07 +00:00
update sliderWidth between editor and preview
This commit is contained in:
@@ -49,6 +49,7 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
|
|||||||
template="tp-tiddler-preview"
|
template="tp-tiddler-preview"
|
||||||
mode="inline"
|
mode="inline"
|
||||||
padding="0px"
|
padding="0px"
|
||||||
|
sliderWidth="6px"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</$let>
|
</$let>
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ code-body: yes
|
|||||||
<$let classIdentifier={{{ [<textEditorWidthTiddler>removeprefix[$:/state/resizer/texteditorwidth-]] }}}>
|
<$let classIdentifier={{{ [<textEditorWidthTiddler>removeprefix[$:/state/resizer/texteditorwidth-]] }}}>
|
||||||
|
|
||||||
.tc-edit-texteditor.tc-edit-texteditor-<<classIdentifier>> {
|
.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%;
|
max-width: 200%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user