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}; + } +`;