From 9ccc65ac1c4e8eabae6466db968a515c9934d7a2 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Mon, 7 Jul 2025 22:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BB=93=E5=BA=93=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 4 +++- styles/components/index.tsx | 1 + styles/components/newrepo.tsx | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 styles/components/newrepo.tsx 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} + } + } + } +`;