From a253b6e01ab9f98dd06bdab59a48d9238cf915cc Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Wed, 30 Oct 2024 07:06:47 +0100 Subject: [PATCH] update sliderWidth between editor and preview --- core/ui/EditTemplate/body/default.tid | 1 + themes/tiddlywiki/vanilla/sidebar-resizer.tid | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/ui/EditTemplate/body/default.tid b/core/ui/EditTemplate/body/default.tid index e4cfd737e..ae456dce9 100644 --- a/core/ui/EditTemplate/body/default.tid +++ b/core/ui/EditTemplate/body/default.tid @@ -49,6 +49,7 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$ template="tp-tiddler-preview" mode="inline" padding="0px" + sliderWidth="6px" /> diff --git a/themes/tiddlywiki/vanilla/sidebar-resizer.tid b/themes/tiddlywiki/vanilla/sidebar-resizer.tid index 94acae912..6841defd2 100644 --- a/themes/tiddlywiki/vanilla/sidebar-resizer.tid +++ b/themes/tiddlywiki/vanilla/sidebar-resizer.tid @@ -166,7 +166,7 @@ code-body: yes <$let classIdentifier={{{ [removeprefix[$:/state/resizer/texteditorwidth-]] }}}> .tc-edit-texteditor.tc-edit-texteditor-<> { - width: calc(2 * (100% - {{{ [get[text]] }}})); + width: calc(2 * (100% - {{{ [get[text]] }}}) - 3px); max-width: 200%; }