Skip to content

Commit 7ebea3d

Browse files
committed
Remove slanted divider in scoped label display, make it straight
1 parent c278def commit 7ebea3d

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

modules/templates/helper.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,12 +859,10 @@ func RenderLabel(label *issues_model.Label) string {
859859

860860
return fmt.Sprintf("<span class='ui label scope-parent' title='%s'>"+
861861
"<div class='ui label scope-left' style='color: %s !important; background-color: %s !important'>%s</div>"+
862-
"<div class='ui label scope-middle' style='background: linear-gradient(-80deg, %s 48%%, %s 52%% 0%%);'>&nbsp;</div>"+
863862
"<div class='ui label scope-right' style='color: %s !important; background-color: %s !important''>%s</div>"+
864863
"</span>",
865864
description,
866865
textColor, scopeColor, scopeText,
867-
itemColor, scopeColor,
868866
textColor, itemColor, itemText)
869867
}
870868

web_src/less/_repository.less

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,23 +2838,12 @@
28382838
.ui.label.scope-left {
28392839
border-bottom-right-radius: 0;
28402840
border-top-right-radius: 0;
2841-
padding-right: 0;
2842-
margin-right: 0;
2843-
}
2844-
2845-
.ui.label.scope-middle {
2846-
width: 12px;
2847-
border-radius: 0;
2848-
padding-left: 0;
2849-
padding-right: 0;
2850-
margin-left: 0;
28512841
margin-right: 0;
28522842
}
28532843

28542844
.ui.label.scope-right {
28552845
border-bottom-left-radius: 0;
28562846
border-top-left-radius: 0;
2857-
padding-left: 0;
28582847
margin-left: 0;
28592848
}
28602849

0 commit comments

Comments
 (0)