1
0
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:
BurningTreeC 2024-10-30 07:06:47 +01:00
parent 62333ce54c
commit a253b6e01a
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
template="tp-tiddler-preview"
mode="inline"
padding="0px"
sliderWidth="6px"
/>
</$let>

View File

@ -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%;
}