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 { .navbar {
height: 2.5lh; height: 1.5rem;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1em; padding: 0.5rem;
gap: 1rem;
flex-shrink: 0; flex-shrink: 0;
background-color: #cde; background-color: #cde;
} }
+4
View File
@@ -31,6 +31,10 @@ function Editor(props: EditorProps) {
doc: ydoc.getText().toString(), doc: ydoc.getText().toString(),
extensions: [ extensions: [
EditorView.lineWrapping, EditorView.lineWrapping,
EditorView.contentAttributes.of({
autocapitalize: 'sentences',
autocorrect: 'on',
}),
history(), history(),
keymap.of([...defaultKeymap, ...historyKeymap]), keymap.of([...defaultKeymap, ...historyKeymap]),
scrollPastEnd(), scrollPastEnd(),