From 11e86dc549be63609af5cf890adb57c005ba31fc Mon Sep 17 00:00:00 2001 From: lutinglt Date: Mon, 15 Sep 2025 19:58:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/public/dropdown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/public/dropdown.ts b/styles/public/dropdown.ts index 3f97843..1899167 100644 --- a/styles/public/dropdown.ts +++ b/styles/public/dropdown.ts @@ -62,6 +62,7 @@ export const dropdown = css` } // 当筛选后, 让菜单提供边距, 因为无法确定保留的是菜单中哪个 item // 不是所有菜单都提供边距方式, 原因为比如会导致分支菜单中的查看所有分支上间隔缺失, 这种方式单独为 Wiki 菜单做处理 + // 有筛选(.filtered)且有筛选结果(.selected)时提供菜单边距, 没结果时提供会导致多余的菜单边框线 &:has(> .item.filtered):has(> .item.selected) { padding: 8px 0px; > .item {