mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
feat(mermaid): swap preview and content
This commit is contained in:
parent
8cab2aec0f
commit
f4d5b9fc29
@ -7,8 +7,8 @@ import { DEFAULT_GUTTER_SIZE } from "../../services/resizer.js";
|
|||||||
|
|
||||||
const TPL = `\
|
const TPL = `\
|
||||||
<div class="note-detail-split note-detail-printable split-horizontal">
|
<div class="note-detail-split note-detail-printable split-horizontal">
|
||||||
<div class="note-detail-split-preview"></div>
|
|
||||||
<div class="note-detail-split-editor"></div>
|
<div class="note-detail-split-editor"></div>
|
||||||
|
<div class="note-detail-split-preview"></div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.note-detail-split {
|
.note-detail-split {
|
||||||
@ -22,7 +22,7 @@ const TPL = `\
|
|||||||
|
|
||||||
/* Horizontal layout */
|
/* Horizontal layout */
|
||||||
|
|
||||||
.note-detail-split.split-horizontal > .note-detail-split-editor {
|
.note-detail-split.split-horizontal > .note-detail-split-preview {
|
||||||
border-left: 1px solid var(--main-border-color);
|
border-left: 1px solid var(--main-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user