Skip to content

Commit

Permalink
Fix overflow issue of codemirror editor within grid container (Tiddly…
Browse files Browse the repository at this point in the history
…Wiki#7794)

* fix overflow issue of codemirror editor within grid container

* tiddler preview needs overflow: auto, too
  • Loading branch information
BurningTreeC authored Oct 26, 2023
1 parent 801e8e3 commit 902c7f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/tiddlywiki/codemirror/styles.tid
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ name: tiddlywiki
rendering-intent: auto;
}

.tc-tiddler-frame .tc-tiddler-editor .tc-edit-texteditor,
.tc-tiddler-frame .tc-tiddler-editor .tc-tiddler-preview-preview {
overflow: auto;
}

.cm-s-tiddlywiki.CodeMirror, .cm-s-tiddlywiki .CodeMirror-gutters { background-color: <<colour tiddler-editor-background>>; color: <<colour foreground>>; }
.cm-s-tiddlywiki .CodeMirror-gutters {background: <<colour tiddler-editor-background>>; border-right: 1px solid <<colour tiddler-editor-border>>;}
.cm-s-tiddlywiki .CodeMirror-linenumber {color: <<colour foreground>>;}
Expand Down

0 comments on commit 902c7f5

Please sign in to comment.