分支菜单项目添加动画效果

This commit is contained in:
lutinglt
2025-08-05 15:25:41 +08:00
parent a1cc1509ce
commit 4f4b99a600
2 changed files with 9 additions and 1 deletions

2
.github/release.md vendored
View File

@@ -1,5 +1,7 @@
## 🌈 Style
- 分支菜单项目添加动画效果
#### 更符合 GitHub 风格
- 同步 PR 的合并提交操作面板样式

View File

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