From df943878a0fdc2ef415a7f71bbaa10c281e29d17 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Thu, 7 May 2026 22:32:12 +0000 Subject: [PATCH] fix: toolbar white bg, rounded-full buttons, px-12 padding like prototype --- memento-note/components/note-editor.tsx | 56 +++++++++++++++---------- 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/memento-note/components/note-editor.tsx b/memento-note/components/note-editor.tsx index 5dfa633..8475e46 100644 --- a/memento-note/components/note-editor.tsx +++ b/memento-note/components/note-editor.tsx @@ -662,45 +662,57 @@ export function NoteEditor({ note, readOnly = false, onClose, fullPage = false } if (fullPage) { return ( <> -
+
{/* main scrollable column */} -
+
- {/* sticky toolbar */} -
+ {/* sticky toolbar — matches prototype */} +
-
+
+ {/* Save status */} + + {isSaving + ? <>{t('notes.saving') || 'Enregistrement...'} + : isDirty + ? <>{t('notes.dirtyStatus') || 'Modifié'} + : <>{t('notes.savedStatus') || 'Enregistré'}} + + {/* Type selector */} { setNoteType(newType); setShowMarkdownPreview(newType === 'markdown'); setIsDirty(true) }} compact /> -
-
- - {isSaving - ? <>{t('notes.saving') || 'Saving...'} - : isDirty - ? <>{t('notes.dirtyStatus') || 'Modifié'} - : <>{t('notes.savedStatus') || 'Enregistré'}} - + {/* AI button — rounded-full like prototype */} + {/* Info button */}