From 4f4b99a60084adb81be0f8a1354cb34af2b1b394 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Tue, 5 Aug 2025 15:25:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=94=AF=E8=8F=9C=E5=8D=95=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=B7=BB=E5=8A=A0=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 2 ++ styles/public/dropdown.ts | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/release.md b/.github/release.md index 8faa057..674ea7f 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,5 +1,7 @@ ## 🌈 Style +- 分支菜单项目添加动画效果 + #### 更符合 GitHub 风格 - 同步 PR 的合并提交操作面板样式 diff --git a/styles/public/dropdown.ts b/styles/public/dropdown.ts index f6a61a5..9e2b2d6 100644 --- a/styles/public/dropdown.ts +++ b/styles/public/dropdown.ts @@ -14,7 +14,6 @@ export const dropdown = css` box-shadow: ${themeVars.github.shadow.floating.small} !important; // 忽略隐藏 > .item:not(.tw-hidden) { - animation: ${animationDown}; display: flex !important; align-items: center; gap: 0.5rem; @@ -174,3 +173,10 @@ export const fixSelectionDropdown = css` min-height: 32px; } `; + +// 分支菜单 +export const branchDropdown = css` + .ui.dropdown.branch-selector-dropdown .menu > .item { + animation: ${animationDown}; + } +`;