style(app): widen layout to tablet size (max-w-3xl)
This commit is contained in:
1 parent
fd6735ba93
commit
2a5954e8e9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ function App() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="mx-auto flex w-full max-w-2xl min-h-dvh flex-col pb-[calc(env(safe-area-inset-bottom)+7rem)]">
|
<main className="mx-auto flex w-full max-w-3xl 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">
|
<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">
|
||||||
<div className="flex h-11 items-center gap-1">
|
<div className="flex h-11 items-center gap-1">
|
||||||
{creating || selectedNote ? (
|
{creating || selectedNote ? (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ function ErrorPage({
|
|||||||
message = "Désolé, la page que vous cherchez n'existe pas.",
|
message = "Désolé, la page que vous cherchez n'existe pas.",
|
||||||
}: ErrorPageProps) {
|
}: ErrorPageProps) {
|
||||||
return (
|
return (
|
||||||
<main className="mx-auto flex w-full max-w-2xl min-h-dvh flex-col items-center justify-center gap-6 px-4 text-center">
|
<main className="mx-auto flex w-full max-w-3xl min-h-dvh flex-col items-center justify-center gap-6 px-4 text-center">
|
||||||
<p className="text-6xl font-bold text-blue-700">{code}</p>
|
<p className="text-6xl font-bold text-blue-700">{code}</p>
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-semibold">{title}</h1>
|
<h1 className="text-2xl font-semibold">{title}</h1>
|
||||||
|
|||||||
Reference in new issue
Block a user