This commit is contained in:
5
LOG.md
5
LOG.md
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
## 2026-06-07
|
## 2026-06-07
|
||||||
|
|
||||||
|
- Fixed admin pages being pushed outside the visible content area by removing viewport-based `md:w-[80vw]` widths from the admin route shell and Markdown editor container.
|
||||||
|
- Changed admin containers to use the remaining shell content width (`w-full` with `max-w-[1400px]`) so the sidebar margin no longer combines with an extra viewport-width layout.
|
||||||
|
- Validation: `npm run lint` passed and `npm run build` passed. Authenticated browser verification was not possible in the current session because `/admin` redirects to login without an admin token.
|
||||||
|
- Recommended next task: verify `/admin` and `/admin/posts/new` in an authenticated browser session at desktop widths around 1280px and 1440px.
|
||||||
|
|
||||||
- Fixed the admin dashboard traffic chart visibility by giving bar columns a real height context, so percentage-based bar heights render instead of collapsing.
|
- Fixed the admin dashboard traffic chart visibility by giving bar columns a real height context, so percentage-based bar heights render instead of collapsing.
|
||||||
- Added fallback traffic points from recent/popular post data when the dashboard API or `traffic` array is empty, keeping the graph visible while the backend traffic aggregation is unavailable.
|
- Added fallback traffic points from recent/popular post data when the dashboard API or `traffic` array is empty, keeping the graph visible while the backend traffic aggregation is unavailable.
|
||||||
- Validation: `npm run lint` passed and `npm run build` passed. Browser navigation to `/admin` was attempted on `http://localhost:3112/`, but the current browser session was unauthenticated and rendered the login screen, so the admin chart itself was validated by code path and build checks rather than a live authenticated screenshot.
|
- Validation: `npm run lint` passed and `npm run build` passed. Browser navigation to `/admin` was attempted on `http://localhost:3112/`, but the current browser session was unauthenticated and rendered the login screen, so the admin chart itself was validated by code path and build checks rather than a live authenticated screenshot.
|
||||||
|
|||||||
@@ -471,7 +471,7 @@ export default function AdminPostEditor({ editSlug }: AdminPostEditorProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="mx-auto w-full px-0 py-4 md:w-[80vw] md:max-w-[1400px] md:py-6" onPaste={handlePaste}>
|
<main className="w-full min-w-0" onPaste={handlePaste}>
|
||||||
<WindowSurface
|
<WindowSurface
|
||||||
title={isEditMode ? '글 수정' : '새 글 작성'}
|
title={isEditMode ? '글 수정' : '새 글 작성'}
|
||||||
subtitle="Markdown Studio"
|
subtitle="Markdown Studio"
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function AdminRouteShell({ children }: { children: React.ReactNod
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx-auto w-full space-y-6 px-0 py-4 md:w-[80vw] md:max-w-[1400px] md:py-6">
|
<div className="mx-auto w-full max-w-[1400px] space-y-6 px-0 py-4 md:py-6">
|
||||||
<WindowSurface title="System Settings" subtitle="Admin Console" bodyClassName="p-2">
|
<WindowSurface title="System Settings" subtitle="Admin Console" bodyClassName="p-2">
|
||||||
<nav
|
<nav
|
||||||
className="flex gap-2 overflow-x-auto rounded-lg border border-[var(--card-border)] bg-[var(--card-bg)] p-1 shadow-[var(--shadow-card)] backdrop-blur-[18px]"
|
className="flex gap-2 overflow-x-auto rounded-lg border border-[var(--card-border)] bg-[var(--card-bg)] p-1 shadow-[var(--shadow-card)] backdrop-blur-[18px]"
|
||||||
|
|||||||
Reference in New Issue
Block a user