.
All checks were successful
Deploy blog-frontend / build-and-deploy (push) Successful in 2m13s

This commit is contained in:
wypark
2026-06-07 12:20:18 +09:00
parent 8fedc8657e
commit a828be323a
3 changed files with 7 additions and 2 deletions

5
LOG.md
View File

@@ -2,6 +2,11 @@
## 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.
- 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.

View File

@@ -471,7 +471,7 @@ export default function AdminPostEditor({ editSlug }: AdminPostEditorProps) {
}
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
title={isEditMode ? '글 수정' : '새 글 작성'}
subtitle="Markdown Studio"

View File

@@ -57,7 +57,7 @@ export default function AdminRouteShell({ children }: { children: React.ReactNod
}
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">
<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]"