diff --git a/.github/release.md b/.github/release.md index 92a1153..1e870cb 100644 --- a/.github/release.md +++ b/.github/release.md @@ -8,4 +8,6 @@ ## 🐞 Fix -- 修复侧边栏协议对齐 \ No newline at end of file +- 修复侧边栏协议对齐 +- 修复克隆面板按钮弹跳 +- 修复仓库/用户/组织标签风格不统一 \ No newline at end of file diff --git a/src/dropdown.scss b/src/dropdown.scss index 015bbcd..2cac72b 100644 --- a/src/dropdown.scss +++ b/src/dropdown.scss @@ -14,7 +14,7 @@ // clone 下拉菜单 .tippy-box { - margin-top: -6px; + margin-top: -3px; background: var(--color-box-header); border-radius: 12px; overflow: hidden; @@ -36,10 +36,11 @@ button { padding: 15px 12px; + transition: none; } - .active { - border-color: #f78166; + .item.active { + border-bottom: 2px solid #f78166; } } diff --git a/src/label.scss b/src/label.scss index 2b8df44..64cf539 100644 --- a/src/label.scss +++ b/src/label.scss @@ -9,14 +9,12 @@ a.ui.basic.label:hover { border-color: var(--color-light-border); } -.ui.basic.label.not-mobile, -.ui.basic.label.role-label, -.page-content.dashboard.feeds .ui.basic.label, -.page-content.explore .ui.basic.label, -.page-content.organization .ui.basic.label, -.admin-setting-content .ui.basic.label { - border-radius: 25px; - background-color: unset; +span, +.secondary-nav .org-visibility div { + &.ui.basic.label { + border-radius: 25px; + background-color: unset; + } } .badge.tw-bg-green, diff --git a/src/repo.scss b/src/repo.scss index da3d9cd..bf4a903 100644 --- a/src/repo.scss +++ b/src/repo.scss @@ -41,7 +41,7 @@ } &.muted:not(.tw-font-normal) { - font-weight: bold; + font-weight: 600; } } } @@ -110,13 +110,7 @@ // clone 按钮居中调整 .repo-button-row .repo-button-row-right .ui.primary.button span { - display: flex; - align-items: center; - justify-content: center; - - svg { - margin-right: 0.5rem; - } + margin: 0px 3px; } .repo-file-line {