From 7b6ce22f633bd1d0e92a231c15afeccb7d21d3db Mon Sep 17 00:00:00 2001 From: kurihada Date: Mon, 2 Mar 2026 13:03:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A1=8C=E7=A8=8B?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E9=97=B4=E8=B7=9D=E8=A2=AB=20last:mb-0=20?= =?UTF-8?q?=E6=B8=85=E9=9B=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 每个 SortablePlanItem 被 motion.div 包裹,last:mb-0 会对 所有 item 生效导致 mb-5 失效,移除 last:mb-0 即可。 同步优化卡片内部间距、padding、reason 加分隔线。 --- src/components/BlindboxPlan.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/BlindboxPlan.tsx b/src/components/BlindboxPlan.tsx index 429affd..0204ec2 100644 --- a/src/components/BlindboxPlan.tsx +++ b/src/components/BlindboxPlan.tsx @@ -197,13 +197,13 @@ function SortablePlanItem({ id, item, canEdit, onEdit }: SortablePlanItemProps) }; return ( -
-
+
+
-
-
+
+
{canEdit && ( )} - {item.time} + {item.time}

{item.activity}

-
+
{item.poi}
{item.address && ( -

{item.address}

+

{item.address}

)} -
+
{formatDuration(item.duration)} @@ -245,7 +245,7 @@ function SortablePlanItem({ id, item, canEdit, onEdit }: SortablePlanItemProps) )}
{item.reason && ( -

+

{item.reason}

)} @@ -434,13 +434,13 @@ export default function BlindboxPlan({ -
+