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 {