Skip to content

Commit f719e2e

Browse files
CirnoTtechknowlogickzeripath
authored
Fix double border introduced by #13434 (#13457)
Co-authored-by: techknowlogick <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 9aa8693 commit f719e2e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

templates/repo/diff/comments.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<img src="{{.Poster.RelAvatarLink}}">
1010
</a>
1111
{{end}}
12-
<div class="content">
12+
<div class="content comment-container">
1313
<div class="ui top attached header comment-header df ac sb">
1414
<div class="comment-header-left df ac">
1515
{{if .OriginalAuthor }}

templates/repo/issue/view_content.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<img src="{{.Issue.Poster.RelAvatarLink}}">
2020
</a>
2121
{{end}}
22-
<div class="content">
22+
<div class="content comment-container">
2323
<div class="ui top attached header comment-header df ac sb">
2424
<div class="comment-header-left df ac">
2525
{{if .Issue.OriginalAuthor }}

templates/repo/issue/view_content/comments.tmpl

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<img src="{{.Poster.RelAvatarLink}}">
1919
</a>
2020
{{end}}
21-
<div class="content">
21+
<div class="content comment-container">
2222
<div class="ui top attached header comment-header df ac sb">
2323
<div class="comment-header-left df ac">
2424
{{if .OriginalAuthor }}
@@ -427,8 +427,8 @@
427427
</div>
428428
{{if .Content}}
429429
<div class="timeline-item comment">
430-
<div class="content">
431-
<div class="ui top attached header arrow-top">
430+
<div class="content comment-container">
431+
<div class="ui top attached header comment-header df ac sb">
432432
<span class="text grey">
433433
{{if .OriginalAuthor }}
434434
<span class="text black"><i class="fa {{MigrationIcon $.Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .OriginalAuthor }}</span><span class="text grey"> {{if $.Repository.OriginalURL}}</span><span class="text migrate">({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}</span>

web_src/less/_repository.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@
997997
}
998998
}
999999

1000-
.content {
1000+
.comment-container {
10011001
border: 1px solid var(--color-secondary);
10021002
border-radius: var(--border-radius);
10031003

@@ -2791,7 +2791,7 @@
27912791
}
27922792
}
27932793

2794-
.comment:target .content {
2794+
.comment:target .comment-container {
27952795
border-color: var(--color-primary) !important;
27962796
box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
27972797
}

0 commit comments

Comments
 (0)