Skip to content

Commit 1466310

Browse files
committed
fix comment label list
1 parent a7ddce1 commit 1466310

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
</div>
170170
{{else if eq .Type 7}}
171171
{{if or .AddedLabels .RemovedLabels}}
172-
<div class="timeline-item event" id="{{.HashTag}}">
172+
<div class="timeline-item event with-labels-list" id="{{.HashTag}}">
173173
<span class="badge">{{svg "octicon-tag"}}</span>
174174
{{template "shared/user/avatarlink" dict "user" .Poster}}
175175
<span class="text grey muted-links">

web_src/css/modules/label.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818
white-space: nowrap;
1919
}
2020

21-
.ui.label:first-child {
22-
margin-left: 0;
23-
}
24-
.ui.label:last-child {
25-
margin-right: 0;
26-
}
27-
2821
a.ui.label {
2922
cursor: pointer;
3023
}

web_src/css/repo.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,10 @@ td .commit-summary {
629629
border: 1px solid var(--color-light-border);
630630
}
631631

632+
.repository.view.issue .comment-list .timeline-item.with-labels-list .ui.label {
633+
margin: 0 2px;
634+
}
635+
632636
@media (max-width: 767.98px) {
633637
.repository.view.issue .comment-list .timeline-item .ui.segments {
634638
margin-left: -2rem;

0 commit comments

Comments
 (0)