From 98e5343bc321767571858295ada7d9cb811c40e7 Mon Sep 17 00:00:00 2001 From: gilles Date: Sun, 13 Sep 2026 17:11:30 +0200 Subject: [PATCH] style(app): mobile-native layout with safe areas and grouped list --- index.html | 2 +- src/App.tsx | 4 ++-- src/components/FloatingButton.tsx | 2 +- src/components/NoteEditor.tsx | 4 ++-- src/components/NoteList.tsx | 4 ++-- src/style.css | 10 ++++++++++ 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 15ac73a..5c00ec3 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ name="description" content="Application web SPA PWA installable et utilisable hors connexion." /> - + new diff --git a/src/App.tsx b/src/App.tsx index f580bcd..a433165 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -37,8 +37,8 @@ function App() { } return ( -
-
+
+
{creating || selectedNote ? (
diff --git a/src/components/NoteEditor.tsx b/src/components/NoteEditor.tsx index c98c500..76b24df 100644 --- a/src/components/NoteEditor.tsx +++ b/src/components/NoteEditor.tsx @@ -17,7 +17,7 @@ function NoteForm({ }: NoteFormProps) { return (
{ event.preventDefault() onSubmit() @@ -114,7 +114,7 @@ function NoteEditor(props: NoteEditorProps) { const { note } = props return ( -
+

{note.title || 'Sans titre'}