创建仓库页面下拉菜单选项样式同步

This commit is contained in:
lutinglt
2025-07-07 22:28:45 +08:00
parent 7921a8872b
commit 9ccc65ac1c
3 changed files with 18 additions and 1 deletions

4
.github/release.md vendored
View File

@@ -1,5 +1,7 @@
## 🌈 Style ## 🌈 Style
- 创建仓库页面下拉菜单选项样式同步
#### 更符合 GitHub 风格 #### 更符合 GitHub 风格
## 🎈 Perf ## 🎈 Perf
@@ -11,4 +13,4 @@
- 修复顶部导航栏的菜单按钮悬浮颜色 - 修复顶部导航栏的菜单按钮悬浮颜色
- 修复选择输入框的样式 - 修复选择输入框的样式
- 修复创建仓库时拥有者按钮的高度 - 修复创建仓库时拥有者按钮的高度
- 修复一些输入框在整体元素中不居中 - 修复一些输入框在整体元素中不居中

View File

@@ -6,6 +6,7 @@ import "./diff";
import "./filelist"; import "./filelist";
import "./heatmap"; import "./heatmap";
import "./issue"; import "./issue";
import "./newrepo";
import "./release"; import "./release";
import "./repo"; import "./repo";
import "./setting"; import "./setting";

View File

@@ -0,0 +1,14 @@
import { css } from "src/types/vars";
import { activeItemAfterStyle } from "styles/public/menu";
// 新建仓库页面下拉菜单
export const newRepo = css`
.page-content.repository.new-repo {
.ui.dropdown .menu {
.item:hover:after {
content: "";
${activeItemAfterStyle}
}
}
}
`;