File tree Expand file tree Collapse file tree 3 files changed +59
-5
lines changed
templates/repo/issue/view_content Expand file tree Collapse file tree 3 files changed +59
-5
lines changed Original file line number Diff line number Diff line change 521
521
</div>
522
522
</div>
523
523
{{end}}
524
- <div id="code-comments-{{(index $comms 0).ID}}" class="comment-code-cloud ui segment{{if $resolved}} hide{{end}} p-3 ">
524
+ <div id="code-comments-{{(index $comms 0).ID}}" class="comment-code-cloud ui segment{{if $resolved}} hide{{end}}">
525
525
<div class="ui comments mb-0">
526
526
{{range $comms}}
527
527
{{ $createdSubStr:= TimeSinceUnix .CreatedUnix $.Lang }}
590
590
</div>
591
591
{{end}}
592
592
</div>
593
- <div class="df ac fw mt-3 mb-2 mx-3">
593
+ <div class="code-comment-buttons df ac fw mt-3 mb-2 mx-3">
594
594
<div class="f1">
595
595
{{if $resolved}}
596
596
<div class="ui grey text">
599
599
</div>
600
600
{{end}}
601
601
</div>
602
- <div>
602
+ <div class="code-comment-buttons-buttons" >
603
603
{{if and $.CanMarkConversation $isNotPending}}
604
604
<button class="ui tiny basic button resolve-conversation" data-origin="timeline" data-action="{{if not $resolved}}Resolve{{else}}UnResolve{{end}}" data-comment-id="{{(index $comms 0).ID}}" data-update-url="{{$.RepoLink}}/issues/resolve_conversation">
605
605
{{if $resolved}}
Original file line number Diff line number Diff line change 955
955
956
956
.ui.comments {
957
957
max-width : 100% ;
958
+
959
+ .avatar {
960
+ margin-right : .5rem ;
961
+ }
958
962
}
959
963
960
964
.comment {
Original file line number Diff line number Diff line change 48
48
}
49
49
50
50
.comment-code-cloud {
51
- padding : .5rem ;
52
- padding-left : 0 ;
51
+ padding : .5rem !important ;
53
52
position : relative ;
54
53
margin : 0 auto ;
55
54
55
+ @media @mediaSm {
56
+ padding : .75rem !important ;
57
+
58
+ .code-comment-buttons {
59
+ margin : .5rem 0 .25rem !important ;
60
+
61
+ .code-comment-buttons-buttons {
62
+ width : 100% ;
63
+ }
64
+ }
65
+ }
66
+
56
67
.comments .comment {
57
68
margin : 0 ;
69
+
70
+ @media @mediaSm {
71
+ padding : 0 ;
72
+
73
+ .comment-header-right.actions .ui.basic.label {
74
+ display : none ;
75
+ }
76
+
77
+ .avatar {
78
+ width : auto ;
79
+ float : none ;
80
+ margin : 0 .5rem 0 0 ;
81
+ flex-shrink : 0 ;
82
+
83
+ & .image {
84
+ margin : 0 !important ;
85
+ }
86
+ }
87
+
88
+ .comment-content {
89
+ margin-left : 0 !important ;
90
+ }
91
+
92
+ & .code-comment {
93
+ padding : 0 0 .5rem !important ;
94
+ }
95
+ }
58
96
}
59
97
60
98
.attached {
112
150
display : block ;
113
151
}
114
152
}
153
+
154
+ @media @mediaSm {
155
+ .button {
156
+ width : 100% ;
157
+ margin : 0 !important ;
158
+
159
+ & :not (:last-child ) {
160
+ margin-bottom : .75rem !important ;
161
+ }
162
+ }
163
+ }
115
164
}
116
165
117
166
.diff-file-body .comment-form {
@@ -142,6 +191,7 @@ a.blob-excerpt:hover {
142
191
> .ui.segment {
143
192
width : 94vw ;
144
193
}
194
+
145
195
.editor-toolbar {
146
196
overflow-x : auto ;
147
197
}
You can’t perform that action at this time.
0 commit comments