style(app): mobile-native layout with safe areas and grouped list

This commit is contained in:
devcodetools committed 2026-09-13 17:11:30 +02:00
1 parent 4ae6ff61b4
commit 98e5343bc3
6 files changed
+18 -8

No files matched your search

+2 -2
View File
@@ -37,8 +37,8 @@ function App() {
}
return (
<main className="mx-auto w-full max-w-2xl flex flex-col min-h-dvh pb-28">
<header className="sticky top-0 z-10 bg-white/95 backdrop-blur border-b border-gray-200 px-4 py-3">
<main className="mx-auto flex w-full max-w-2xl min-h-dvh flex-col pb-[calc(env(safe-area-inset-bottom)+7rem)]">
<header className="sticky top-0 z-10 border-b border-gray-200 bg-white/95 px-4 pb-3 pt-[calc(env(safe-area-inset-top)+0.75rem)] backdrop-blur">
{creating || selectedNote ? (
<div className="flex items-center gap-1">
<button