diff --git a/.memory/worklog.json b/.memory/worklog.json index 04b98ca..f24bcb8 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,18 +1,5 @@ { "entries": [ - { - "files_changed": 3, - "message": "Codex 会话活跃 · 最近命令:codex · 3 项未提交变更 · 最近提交:auto-save 2026-05-14 04:04 (~6)", - "ts": "2026-05-13T20:08:50Z", - "type": "session-heartbeat" - }, - { - "files_changed": 4, - "hash": "0448d28", - "message": "auto-save 2026-05-14 04:10 (~4)", - "ts": "2026-05-14T04:10:26+08:00", - "type": "commit" - }, { "files_changed": 3, "message": "Claude 会话活跃 · 最近命令:claude · 3 项未提交变更 · 最近提交:auto-save 2026-05-14 04:10 (~4)", @@ -3260,6 +3247,19 @@ "type": "session-heartbeat", "message": "Codex 会话活跃 · 最近命令:codex · 1 项未提交变更 · 最近提交:auto-save 2026-05-15 20:14 (~5)", "files_changed": 1 + }, + { + "ts": "2026-05-15T20:20:21+08:00", + "type": "commit", + "message": "auto-save 2026-05-15 20:20 (~3)", + "hash": "fa17798", + "files_changed": 3 + }, + { + "ts": "2026-05-15T13:18:50Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 3 项未提交变更 · 最近提交:auto-save 2026-05-15 20:20 (~3)", + "files_changed": 3 } ] } diff --git a/docs/source-analysis.html b/docs/source-analysis.html index 6b454de..3d60e29 100644 --- a/docs/source-analysis.html +++ b/docs/source-analysis.html @@ -954,7 +954,7 @@ SubjectAsset {

问题:组合登录框仍放在普通文档流的居中容器里,背景滚动或视口变化时视觉上会偏离画面中心。

-

改动:web/app/globals.csslogin-source-overlay 改为固定覆盖全屏的网格层,用 place-items:center 居中;组合登录框自身也显式 justify-self/align-self:center,保证整框以视口中心为基准。

+

改动:web/app/globals.csslogin-source-overlay 改为固定覆盖全屏层;组合登录框自身用 position:fixed; left/top:50%; transform:translate(-50%,-50%) 直接锚定视口中心,避免网格或背景滚动状态造成偏移。

影响:web/app/globals.cssdocs/source-analysis.html

diff --git a/web/app/globals.css b/web/app/globals.css index f71da38..abc2a19 100644 --- a/web/app/globals.css +++ b/web/app/globals.css @@ -378,23 +378,23 @@ position: fixed; inset: 0; z-index: 10; - display: grid; + display: block; min-height: 100vh; min-height: 100dvh; - grid-template-columns: minmax(0, auto); - place-items: center; padding: clamp(20px, 4vw, 56px); pointer-events: none; } .login-page--oasis .login-source-auth-panel { + position: fixed; + left: 50%; + top: 50%; display: grid; width: min(820px, calc(100vw - 40px)); grid-template-columns: minmax(320px, 360px) minmax(300px, 360px); align-items: center; gap: 20px; padding: 18px; - justify-self: center; - align-self: center; + transform: translate(-50%, -50%); pointer-events: auto; background: rgba(10, 18, 10, 0.2); backdrop-filter: none;