From 6c8f386f9fc1860e88d289e2985961b8e6554aa6 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sun, 9 Feb 2025 11:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=A1=B5=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E5=AE=BD=E5=BA=A6&=E4=B8=8B=E6=8B=89=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=88=86=E5=89=B2=E7=BA=BF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 3 ++- src/dropdown.scss | 12 +++++++++++- src/repo.scss | 7 ++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/release.md b/.github/release.md index 756cf68..363d3fb 100644 --- a/.github/release.md +++ b/.github/release.md @@ -2,4 +2,5 @@ #### 更符合 GitHub 风格 -- 增加克隆协议选择按钮样式 \ No newline at end of file +- 仓库代码页侧边栏宽度调整 +- 下拉菜单分割线调整 \ No newline at end of file diff --git a/src/dropdown.scss b/src/dropdown.scss index f3a4147..b0e7f55 100644 --- a/src/dropdown.scss +++ b/src/dropdown.scss @@ -45,7 +45,7 @@ } &.active:after { - content: ""; + content: ''; display: block; position: absolute; bottom: -8px; @@ -147,6 +147,16 @@ } } +// 下拉菜单分隔线 +.ui.dropdown .menu > .divider { + border: 0; + height: 1px; + background-color: #3d444db3; + margin-top: calc(7px); + margin-bottom: 8px; + list-style: none; +} + .ui.dropdown.branch-selector-dropdown > .visible.menu { // 仓库分支列表下查看操作按钮 > .item { diff --git a/src/repo.scss b/src/repo.scss index bf4a903..9f7f526 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -108,7 +108,7 @@ } } - // clone 按钮居中调整 + // clone 按钮调整 .repo-button-row .repo-button-row-right .ui.primary.button span { margin: 0px 3px; } @@ -182,6 +182,11 @@ } } +// 仓库代码布局调整, 侧边栏宽度调整 +.repo-grid-filelist-sidebar { + grid-template-columns: auto 296px; +} + // 仓库代码页面侧边栏 .page-content.repository { .repo-home-sidebar-top {