diff --git a/apps/admin/src/App.css b/apps/admin/src/App.css
index b9d355d..80f8a75 100644
--- a/apps/admin/src/App.css
+++ b/apps/admin/src/App.css
@@ -1,8 +1,8 @@
#root {
- max-width: 1280px;
- margin: 0 auto;
- padding: 2rem;
- text-align: center;
+ min-height: 100dvh;
+ margin: 0;
+ padding: 0;
+ text-align: initial;
}
.logo {
diff --git a/apps/admin/src/App.tsx b/apps/admin/src/App.tsx
index caaab48..1c18a4c 100644
--- a/apps/admin/src/App.tsx
+++ b/apps/admin/src/App.tsx
@@ -43,9 +43,9 @@ function App() {
};
return (
-
+ <>
{authenticated ? (
-
+
setSelectedPostId(null)}
@@ -53,7 +53,7 @@ function App() {
onSettings={undefined}
onLogout={handleLogout}
/>
-
+
{selectedPostId ? (
)}
-
+ >
);
}
diff --git a/apps/admin/src/components/EditorShell.tsx b/apps/admin/src/components/EditorShell.tsx
index d0f64ab..2c63d22 100644
--- a/apps/admin/src/components/EditorShell.tsx
+++ b/apps/admin/src/components/EditorShell.tsx
@@ -49,7 +49,7 @@ export default function EditorShell({ onLogout: _onLogout, initialPostId, onBack
// No inline post switching here; selection happens on Posts page
return (
-
+
-
+
+
Posts
setQuery(e.target.value)} />
- {error && {error}}
-
+ {error && {error}}
+
rows={rows}
columns={columns}
@@ -110,9 +110,10 @@ export default function PostsList({ onSelect, onNew }: { onSelect: (id: string)
onSortModelChange={setSortModel}
disableRowSelectionOnClick
pageSizeOptions={[10, 20, 50, 100]}
- autoHeight
+ autoHeight={false}
+ sx={{ height: '100%' }}
/>
-
+
);
}
diff --git a/apps/admin/src/components/layout/StepNavigation.tsx b/apps/admin/src/components/layout/StepNavigation.tsx
index f29870f..da36d2a 100644
--- a/apps/admin/src/components/layout/StepNavigation.tsx
+++ b/apps/admin/src/components/layout/StepNavigation.tsx
@@ -12,7 +12,15 @@ export default function StepNavigation({
right?: React.ReactNode;
}) {
return (
-
+ theme.zIndex.appBar,
+ }}>
diff --git a/apps/admin/src/index.css b/apps/admin/src/index.css
index 08a3ac9..cf5981e 100644
--- a/apps/admin/src/index.css
+++ b/apps/admin/src/index.css
@@ -24,10 +24,11 @@ a:hover {
body {
margin: 0;
- display: flex;
- place-items: center;
+ padding: 0;
min-width: 320px;
min-height: 100vh;
+ width: 100%;
+ overflow-x: hidden;
}
h1 {