From 36195e64eeb6f038b99be9fedb0cc77f027174d6 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sun, 9 Feb 2025 21:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E6=96=87=E4=BB=B6=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=96=87=E4=BB=B6=E5=9B=BE=E6=A0=87=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 5 +++-- src/repo.scss | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/release.md b/.github/release.md index a078010..d714aa9 100644 --- a/.github/release.md +++ b/.github/release.md @@ -2,7 +2,8 @@ #### 更符合 GitHub 风格 -- 仓库代码页侧边栏宽度调整 +- 仓库代码页侧边栏宽度优化 - 仓库文件列表在手机下隐藏提交信息 -- 下拉菜单分割线调整 +- 仓库文件列表文件图标名称位置优化 +- 下拉菜单分割线优化 - 动画效果优化 \ No newline at end of file diff --git a/src/repo.scss b/src/repo.scss index e722cea..ed66995 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -158,6 +158,13 @@ .repository.file.list { #repo-files-table { .repo-file-item { + .repo-file-cell.name { + display: flex; + align-items: center; + gap: 0.5rem; + padding-left: 1rem; + } + .svg.octicon-file-directory-fill, .svg.octicon-file-submodule { color: #7d8590;