Files
Kanban/src/components
chenshoulin 12c5346f75 fix(ui): 清除按钮高度改为跟随日期输入框,不再矮一截
输入框是 text-sm py-1.5(34px),而清除按钮是 text-xs py-1(26px),
两者并排时按钮明显矮一截。

改为 self-stretch + inline-flex items-center,高度直接跟着这一行走,
而不是写死内边距 —— 输入框以后调内边距,按钮会自动跟上。

实测 320 / 336 / 390 / 1440 四种宽度、深浅两色共 8 组:
输入框与按钮均为 34px,顶边差 0.0,日期行无横向溢出。
回归测试锁住机制本身(必须 self-stretch、不得写死 py)。
2026-10-18 21:25:42 +08:00
..