diff --git a/.github/release.md b/.github/release.md index 451a23b..17e8d09 100644 --- a/.github/release.md +++ b/.github/release.md @@ -1,5 +1,7 @@ ## 🌈 Style +- 创建仓库页面下拉菜单选项样式同步 + #### 更符合 GitHub 风格 ## 🎈 Perf @@ -11,4 +13,4 @@ - 修复顶部导航栏的菜单按钮悬浮颜色 - 修复选择输入框的样式 - 修复创建仓库时拥有者按钮的高度 -- 修复一些输入框在整体元素中不居中 \ No newline at end of file +- 修复一些输入框在整体元素中不居中 diff --git a/styles/components/index.tsx b/styles/components/index.tsx index 102d72b..4c5d1ed 100644 --- a/styles/components/index.tsx +++ b/styles/components/index.tsx @@ -6,6 +6,7 @@ import "./diff"; import "./filelist"; import "./heatmap"; import "./issue"; +import "./newrepo"; import "./release"; import "./repo"; import "./setting"; diff --git a/styles/components/newrepo.tsx b/styles/components/newrepo.tsx new file mode 100644 index 0000000..8ed02aa --- /dev/null +++ b/styles/components/newrepo.tsx @@ -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} + } + } + } +`;