From 2fdcc943837772bdc0b131a5f639fdf6e4dadd43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8F=8A?= <522caiji@gmail.com> Date: Sat, 10 Oct 2026 01:20:07 +0800 Subject: [PATCH] fix(console): top-align the account check-in row The status and scheduled time sat on one flex line that centered vertically, so a wrap made the time look attached to the wrong label. Fixes #280 --- changelog/unreleased/checkin-row-align.md | 7 +++++++ frontend/src/components/account/AccountCard.tsx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/checkin-row-align.md diff --git a/changelog/unreleased/checkin-row-align.md b/changelog/unreleased/checkin-row-align.md new file mode 100644 index 00000000..811ab1a8 --- /dev/null +++ b/changelog/unreleased/checkin-row-align.md @@ -0,0 +1,7 @@ +### English + +- Top-align the account card check-in row so the status and the scheduled time stay on the same line when the row wraps. + +### 中文 + +- 账号卡片的签到行改为顶部对齐,换行时状态和计划时间不再错位。 diff --git a/frontend/src/components/account/AccountCard.tsx b/frontend/src/components/account/AccountCard.tsx index 2a0cbbe1..5d90de72 100644 --- a/frontend/src/components/account/AccountCard.tsx +++ b/frontend/src/components/account/AccountCard.tsx @@ -325,7 +325,7 @@ export function AccountCard({ ) : null} {onCheckin ? ( -