From 19869561910f95c97e24bc1b9189c880fa5f630c Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sun, 7 Sep 2025 15:28:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8B=E6=8B=89=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/public/dropdown.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/public/dropdown.ts b/styles/public/dropdown.ts index e2eae12..0bca1ff 100644 --- a/styles/public/dropdown.ts +++ b/styles/public/dropdown.ts @@ -66,14 +66,14 @@ export const dropdown = css` // 向下弹出的下拉菜单向下偏移 .ui.dropdown:not(.upward), .ui.menu .ui.dropdown:not(.upward) { - .menu { + > .menu { margin-top: 4px !important; } } // 向上弹出的下拉菜单向上偏移 .ui.dropdown.upward, .ui.menu .ui.dropdown.upward { - .menu { + > .menu { animation: ${animationUp}; margin-bottom: 4px !important; } @@ -198,7 +198,7 @@ export const branchDropdown = css` .ui.dropdown.branch-selector-dropdown > .menu { width: ${fallbackVar(customThemeVars.branchMenuWidth, "320px")}; max-width: 640px; - > .item { + > .menu > .item { animation: ${animationDown}; } }