💄 indentations
This commit is contained in:
@@ -38,6 +38,7 @@ function annDecorations(anns: TextAnnotation[], doc: { toString(): string }): De
|
||||
return builder.finish()
|
||||
}
|
||||
|
||||
|
||||
const annPlugin = ViewPlugin.fromClass(class {
|
||||
decorations: DecorationSet
|
||||
constructor(view: EditorView) { this.decorations = annDecorations(view.state.field(annField), view.state.doc) }
|
||||
|
||||
@@ -304,7 +304,7 @@ textarea { resize: vertical; }
|
||||
.cm-editor.cm-focused { outline: none; }
|
||||
.cm-scroller { font-family: 'Georgia', 'Times New Roman', serif; line-height: 1.8; font-size: 16px; transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1); overscroll-behavior: none; }
|
||||
.cm-content { max-width: 680px; margin: 0 auto; padding: 48px 24px 24px; transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
|
||||
.cm-line { padding: 0 0 0.75em; margin: 0; }
|
||||
.cm-line { padding: 0 0 0.75em; margin: 0; text-indent: 2em; }
|
||||
.cm-line:last-child { padding-bottom: 0; }
|
||||
.cm-cursor { border-left-color: var(--accent) !important; }
|
||||
.cm-selectionBackground { background: rgba(200, 169, 110, 0.25) !important; }
|
||||
|
||||
Reference in New Issue
Block a user