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, // 用户