From 8fbcfaa79b2fe25b9c6e76d2f2e0383238729078 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 18 Oct 2016 08:46:48 +0100 Subject: [PATCH] Make the editor preview scrollable in fixed height mode Fixes #2616 --- themes/tiddlywiki/vanilla/base.tid | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 693dd796d..c9ef62f87 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -30,6 +30,15 @@ $hiddenSidebarText$ \end +\define if-editor-height-fixed(then,else) +<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed"> +$then$ + +<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="auto"> +$else$ + +\end + \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock /* @@ -1172,6 +1181,15 @@ html body.tc-body.tc-single-tiddler-window { padding: 3px 3px 3px 3px; } +<> + .tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 49%; }