From 0e3628863e9eb657ed8564de2c57c1dea33c288a Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sat, 11 Oct 2025 22:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=93=E5=BA=93=E6=8E=A2?= =?UTF-8?q?=E7=B4=A2=E6=97=A0=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=20#20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- styles/components/explore.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25169ee..ba48f27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ ### 🐞 Fix +- 修复仓库探索无搜索结果时的样式 #20 - 修复 Wiki 页面搜索项目没有正确隐藏的问题 #15 - 修复后台账户管理排序菜单项的宽度问题 - 修复合并提交中的主色调按钮组阴影问题 - 修复仓库页面下二级导航栏下划线过粗的问题 - 修复仪表板切换用户按钮菜单下无创建组织按钮时的菜单圆角问题 - 修复导航栏工单/PR等仪表板下筛选等菜单的子项的间距问题 -- 修复差异对比文件路径标题栏的菜单样式问题 diff --git a/styles/components/explore.ts b/styles/components/explore.ts index 9fb0350..1d99e30 100644 --- a/styles/components/explore.ts +++ b/styles/components/explore.ts @@ -7,6 +7,12 @@ const orgRepoVar = fallbackVar(customThemeVars.org.repolistColumns, "1"); // 仓库列表 export const repoList = css` + // 修复仓库探索无搜索结果时的样式, 该样式与 .flex-item 的样式保持一致 + .page-content.explore.repositories > .ui.container > .flex-list:not(#activity-feed) > div:only-child { + border: 1px solid ${themeVars.color.light.border}; + border-radius: ${otherThemeVars.border.radius}; + padding: 16px; + } // 组织 .page-content.organization.profile > .ui.container > .ui.stackable > .ui.eleven, // 用户