Skip to content

Commit 174b643

Browse files
committed
修复克隆面板按钮弹跳&统一标签风格
1 parent e008027 commit 174b643

File tree

4 files changed

+15
-20
lines changed

4 files changed

+15
-20
lines changed

.github/release.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@
88

99
## 🐞 Fix
1010

11-
- 修复侧边栏协议对齐
11+
- 修复侧边栏协议对齐
12+
- 修复克隆面板按钮弹跳
13+
- 修复仓库/用户/组织标签风格不统一

src/dropdown.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
// clone 下拉菜单
1616
.tippy-box {
17-
margin-top: -6px;
17+
margin-top: -3px;
1818
background: var(--color-box-header);
1919
border-radius: 12px;
2020
overflow: hidden;
@@ -36,10 +36,11 @@
3636

3737
button {
3838
padding: 15px 12px;
39+
transition: none;
3940
}
4041

41-
.active {
42-
border-color: #f78166;
42+
.item.active {
43+
border-bottom: 2px solid #f78166;
4344
}
4445
}
4546

src/label.scss

+6-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ a.ui.basic.label:hover {
99
border-color: var(--color-light-border);
1010
}
1111

12-
.ui.basic.label.not-mobile,
13-
.ui.basic.label.role-label,
14-
.page-content.dashboard.feeds .ui.basic.label,
15-
.page-content.explore .ui.basic.label,
16-
.page-content.organization .ui.basic.label,
17-
.admin-setting-content .ui.basic.label {
18-
border-radius: 25px;
19-
background-color: unset;
12+
span,
13+
.secondary-nav .org-visibility div {
14+
&.ui.basic.label {
15+
border-radius: 25px;
16+
background-color: unset;
17+
}
2018
}
2119

2220
.badge.tw-bg-green,

src/repo.scss

+2-8
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
&.muted:not(.tw-font-normal) {
44-
font-weight: bold;
44+
font-weight: 600;
4545
}
4646
}
4747
}
@@ -110,13 +110,7 @@
110110

111111
// clone 按钮居中调整
112112
.repo-button-row .repo-button-row-right .ui.primary.button span {
113-
display: flex;
114-
align-items: center;
115-
justify-content: center;
116-
117-
svg {
118-
margin-right: 0.5rem;
119-
}
113+
margin: 0px 3px;
120114
}
121115

122116
.repo-file-line {

0 commit comments

Comments
 (0)