Skip to content

Commit 8687cff

Browse files
committed
Adding ui label basic mini
Signed-off-by: puni9869 <[email protected]>
1 parent 5bcd313 commit 8687cff

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if .IsArchived}}
2-
<span class="archived-label" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}">
2+
<span class="ui basic mini label" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.label_archive_tooltip"}}">
33
{{ctx.Locale.Tr "archived"}}
44
</span>
55
{{end}}

web_src/css/repo/issue-label.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242
opacity: 0.7;
4343
}
4444

45-
.archived-label {
45+
.label-operation .label {
4646
height: fit-content;
47-
font-size: 10px;
48-
padding: 0.1rem;
49-
border: 1px solid var(--color-secondary);
50-
border-radius: var(--border-radius);
5147
}

0 commit comments

Comments
 (0)