Polish navbar, mobile experience

This commit is contained in:
2025-08-29 23:41:32 -07:00
parent bf5690cacd
commit d1574d60da
2 changed files with 7 additions and 2 deletions
+3 -2
View File
@@ -9,10 +9,11 @@ body {
}
.navbar {
height: 2.5lh;
height: 1.5rem;
display: flex;
align-items: center;
gap: 1em;
padding: 0.5rem;
gap: 1rem;
flex-shrink: 0;
background-color: #cde;
}
+4
View File
@@ -31,6 +31,10 @@ function Editor(props: EditorProps) {
doc: ydoc.getText().toString(),
extensions: [
EditorView.lineWrapping,
EditorView.contentAttributes.of({
autocapitalize: 'sentences',
autocorrect: 'on',
}),
history(),
keymap.of([...defaultKeymap, ...historyKeymap]),
scrollPastEnd(),