From fa177984f84d2d15fdaf9468b2bfe3d78c7887bd Mon Sep 17 00:00:00 2001 From: kang Date: Fri, 15 May 2026 20:20:21 +0800 Subject: [PATCH] auto-save 2026-05-15 20:20 (~3) --- .memory/worklog.json | 26 +++++++++++++------------- docs/source-analysis.html | 12 ++++++++++++ web/app/globals.css | 11 +++++++---- 3 files changed, 32 insertions(+), 17 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index d273495..04b98ca 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,18 +1,5 @@ { "entries": [ - { - "files_changed": 4, - "message": "Claude 会话活跃 · 最近命令:claude · 4 项未提交变更 · 最近提交:auto-save 2026-05-14 03:59 (~3)", - "ts": "2026-05-13T20:03:12Z", - "type": "session-heartbeat" - }, - { - "files_changed": 6, - "hash": "87f1182", - "message": "auto-save 2026-05-14 04:04 (~6)", - "ts": "2026-05-14T04:04:54+08:00", - "type": "commit" - }, { "files_changed": 3, "message": "Codex 会话活跃 · 最近命令:codex · 3 项未提交变更 · 最近提交:auto-save 2026-05-14 04:04 (~6)", @@ -3260,6 +3247,19 @@ "message": "auto-save 2026-05-15 20:09 (~3)", "hash": "053cb0b", "files_changed": 3 + }, + { + "ts": "2026-05-15T20:14:48+08:00", + "type": "commit", + "message": "auto-save 2026-05-15 20:14 (~5)", + "hash": "00a744b", + "files_changed": 5 + }, + { + "ts": "2026-05-15T12:14:50Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 1 项未提交变更 · 最近提交:auto-save 2026-05-15 20:14 (~5)", + "files_changed": 1 } ] } diff --git a/docs/source-analysis.html b/docs/source-analysis.html index 752c789..6b454de 100644 --- a/docs/source-analysis.html +++ b/docs/source-analysis.html @@ -946,6 +946,18 @@ SubjectAsset {

变更记录

这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。

+
+
+

2026-05-15 · 登录框固定在视口中心

+ UI + Login +
+
+

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

+

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

+

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

+
+

2026-05-15 · 登录小人完整显示并恢复背景响应

diff --git a/web/app/globals.css b/web/app/globals.css index 467c65a..f71da38 100644 --- a/web/app/globals.css +++ b/web/app/globals.css @@ -375,13 +375,14 @@ linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0.38)); } .login-source-overlay { - position: relative; + position: fixed; + inset: 0; z-index: 10; display: grid; min-height: 100vh; - grid-template-columns: minmax(280px, 370px); - align-items: center; - justify-content: center; + min-height: 100dvh; + grid-template-columns: minmax(0, auto); + place-items: center; padding: clamp(20px, 4vw, 56px); pointer-events: none; } @@ -392,6 +393,8 @@ align-items: center; gap: 20px; padding: 18px; + justify-self: center; + align-self: center; pointer-events: auto; background: rgba(10, 18, 10, 0.2); backdrop-filter: none;