From 174b643896427fa3592e44902f034491c91ee87c Mon Sep 17 00:00:00 2001 From: lutinglt Date: Thu, 6 Feb 2025 10:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=8B=E9=9A=86=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E6=8C=89=E9=92=AE=E5=BC=B9=E8=B7=B3&=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E6=A0=87=E7=AD=BE=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 4 +++- src/dropdown.scss | 7 ++++--- src/label.scss | 14 ++++++-------- src/repo.scss | 10 ++-------- 4 files changed, 15 insertions(+), 20 deletions(-) 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 {