From 092d602eb38500cfee5473c6f6959d1596761596 Mon Sep 17 00:00:00 2001 From: Todos Date: Sun, 8 Nov 2026 19:31:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(public):=20=E7=BC=96=E8=BE=91=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=A0=96=E5=9D=97=E7=BB=9F=E4=B8=80=E7=BD=91=E6=A0=BC?= =?UTF-8?q?=E5=B0=BA=E5=AF=B8=E5=B9=B6=E5=8D=95=E8=A1=8C=E6=88=AA=E6=96=AD?= =?UTF-8?q?=E9=95=BF=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - EditableTile 的按钮补 w-full/min-w-0,撑满网格格子(此前按内容收缩,宽窄不一且溢出) - LinkTileContent 新增 singleLine:编辑模式名称单行截断、名称与网址补 title 悬停看全称 - 空分类占位高度对齐三档砖的实测高度(130 / 36 / 62px) --- web/src/components/home-edit-board.tsx | 31 +++++++++++---- web/src/components/link-grid.tsx | 53 +++++++++++++++++++++----- 2 files changed, 67 insertions(+), 17 deletions(-) diff --git a/web/src/components/home-edit-board.tsx b/web/src/components/home-edit-board.tsx index 1baa433..f34e9e5 100644 --- a/web/src/components/home-edit-board.tsx +++ b/web/src/components/home-edit-board.tsx @@ -48,6 +48,13 @@ import type { LinkStyle, SiteCategory, SiteLink } from "@/lib/types"; * * 触屏:`TouchSensor` 长按 250ms 才激活(普通滑动照常滚动页面),`MouseSensor` * 位移 6px 激活(单击不被吃掉)。拖拽覆盖层用 dnd-kit 原生 `DragOverlay`。 + * + * 尺寸口径(2026-11-08):砖的格子由 `LINK_GRID_CLASS` 给出(与普通模式同一个网格), + * 砖壳必须 **撑满格子** —— `