mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
parent
accd4a1b65
commit
8fbcfaa79b
@ -30,6 +30,15 @@ $hiddenSidebarText$
|
||||
</$reveal>
|
||||
\end
|
||||
|
||||
\define if-editor-height-fixed(then,else)
|
||||
<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="fixed">
|
||||
$then$
|
||||
</$reveal>
|
||||
<$reveal state="$:/config/TextEditor/EditorHeight/Mode" type="match" text="auto">
|
||||
$else$
|
||||
</$reveal>
|
||||
\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;
|
||||
}
|
||||
|
||||
<<if-editor-height-fixed then:"""
|
||||
|
||||
.tc-tiddler-preview-preview {
|
||||
overflow-y: scroll;
|
||||
height: {{$:/config/TextEditor/EditorHeight/Height}};
|
||||
}
|
||||
|
||||
""">>
|
||||
|
||||
.tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor {
|
||||
width: 49%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user