auto-save 2026-05-15 23:37 (~4)
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
{
|
||||
"entries": [
|
||||
{
|
||||
"files_changed": 3,
|
||||
"hash": "b95e946",
|
||||
"message": "auto-save 2026-05-14 05:38 (~3)",
|
||||
"ts": "2026-05-14T05:38:23+08:00",
|
||||
"type": "commit"
|
||||
},
|
||||
{
|
||||
"files_changed": 2,
|
||||
"message": "Codex 会话活跃 · 最近命令:codex · 2 项未提交变更 · 最近提交:auto-save 2026-05-14 05:38 (~3)",
|
||||
@@ -3265,6 +3258,13 @@
|
||||
"type": "session-heartbeat",
|
||||
"message": "Codex 会话活跃 · 最近命令:codex · 2 项未提交变更 · 最近提交:auto-save 2026-05-15 23:26 (~2)",
|
||||
"files_changed": 2
|
||||
},
|
||||
{
|
||||
"ts": "2026-05-15T23:32:37+08:00",
|
||||
"type": "commit",
|
||||
"message": "auto-save 2026-05-15 23:32 (~2)",
|
||||
"hash": "649d0f6",
|
||||
"files_changed": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -947,6 +947,18 @@ SubjectAsset {
|
||||
<h2>变更记录</h2>
|
||||
<p>这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。</p>
|
||||
<div class="changelog">
|
||||
<article class="change">
|
||||
<header>
|
||||
<h3>2026-05-15 · 登录右侧表单下移并收紧按钮间距</h3>
|
||||
<span class="tag rose">UI</span>
|
||||
<span class="tag violet">Login</span>
|
||||
</header>
|
||||
<div class="body">
|
||||
<p><strong>问题:</strong>错误感叹号去掉后,保持登录和提交按钮之间仍保留了旧状态区空位;右侧表单整体也显得偏高。</p>
|
||||
<p><strong>改动:</strong><code>web/app/login/page.tsx</code> 只在成功态渲染状态图标,不再为空闲/错误态保留固定高度;<code>web/app/globals.css</code> 将桌面端右侧表单向下微移,移动端保持原排列。</p>
|
||||
<p><strong>影响:</strong><code>web/app/login/page.tsx</code>、<code>web/app/globals.css</code>、<code>docs/source-analysis.html</code>。</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="change">
|
||||
<header>
|
||||
<h3>2026-05-15 · 登录错误状态去掉感叹号</h3>
|
||||
|
||||
@@ -454,6 +454,7 @@
|
||||
}
|
||||
.login-source-form-pane {
|
||||
min-width: 0;
|
||||
transform: translateY(28px);
|
||||
}
|
||||
.login-hero {
|
||||
isolation: isolate;
|
||||
@@ -1228,6 +1229,9 @@
|
||||
justify-self: center;
|
||||
padding: 16px 18px 20px;
|
||||
}
|
||||
.login-source-form-pane {
|
||||
transform: none;
|
||||
}
|
||||
.login-top-brand {
|
||||
left: 18px;
|
||||
top: 16px;
|
||||
|
||||
@@ -148,16 +148,16 @@ export default function LoginPage() {
|
||||
<span>保持登录</span>
|
||||
</label>
|
||||
|
||||
<div className="mt-4 min-h-9">
|
||||
{status === "success" ? (
|
||||
{status === "success" ? (
|
||||
<div className="mt-3">
|
||||
<div className="inline-flex h-9 w-9 items-center justify-center rounded-[8px] border border-emerald-300/30 bg-emerald-400/10 text-emerald-100">
|
||||
<CheckCircle2 className="h-4 w-4" />
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<button
|
||||
className="mt-1 flex h-11 w-full items-center justify-center gap-2 rounded-[8px] bg-white px-4 text-base font-semibold text-black shadow-xl shadow-black/25 transition hover:bg-[#f5efe3] focus:outline-none focus:ring-2 focus:ring-[#d6b36a]/60 disabled:cursor-wait disabled:opacity-70"
|
||||
className="mt-4 flex h-11 w-full items-center justify-center gap-2 rounded-[8px] bg-white px-4 text-base font-semibold text-black shadow-xl shadow-black/25 transition hover:bg-[#f5efe3] focus:outline-none focus:ring-2 focus:ring-[#d6b36a]/60 disabled:cursor-wait disabled:opacity-70"
|
||||
type="submit"
|
||||
disabled={disabled}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user