diff --git a/assets/css/app.css b/assets/css/app.css index fb8a371..28dc681 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -123,7 +123,22 @@ a:hover { text-decoration: underline; } .page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; } .page-head h1 { font-size: 22px; font-weight: 600; margin: 0; } .page-head .sub { color: var(--muted); font-size: 14px; } -.page-head .actions { margin-left: auto; display: flex; gap: 8px; } +.page-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; } +/* ---- 页头动作区:所有按钮一律同尺寸 ---- + ⚠️ 用户明确提过两次:「设置按钮和记一场电影按钮高度要一致,现在不好看」 + 「返回等按钮和记一场电影等按钮的大小高度的统一问题」。 + 根因是页头里混用了 .btn 与 .btn-sm 两档(padding 9px16px vs 5px12px), + 并排就一高一矮。这里**强制**让页头动作区的按钮回到基础档: + · 按钮(.btn / .btn-ghost / .btn-danger,含
的 summary)统一 padding 与字号; + · 表单包裹的按钮(删除那种
+ - 返回列表 + + + 返回列表 diff --git a/templates/movies/stats.php b/templates/movies/stats.php index de787da..d84664b 100644 --- a/templates/movies/stats.php +++ b/templates/movies/stats.php @@ -25,7 +25,8 @@ $wd = static function (?string $d): string {

观影统计

一家人的观影概览
- 返回观影 + + 返回观影