File tree 2 files changed +22
-12
lines changed
templates/repo/issue/view_content
2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 360
360
<img src="{{.Poster.RelAvatarLink}}">
361
361
</a>
362
362
<div class="content">
363
- <a class="author" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a>
364
- <div class="metadata">
365
- <span class="date">{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}}</span>
366
- </div>
367
- <div class="text">
368
- <div class="render-content markdown has-emoji">
369
- {{if .RenderedContent}}
370
- {{.RenderedContent|Str2html}}
371
- {{else}}
372
- <span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
373
- {{end}}
363
+ <div class="code-comment-content">
364
+ <a class="author" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a>
365
+ <div class="metadata">
366
+ <span class="date">{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}}</span>
367
+ </div>
368
+ <div class="text">
369
+ <div class="render-content markdown has-emoji">
370
+ {{if .RenderedContent}}
371
+ {{.RenderedContent|Str2html}}
372
+ {{else}}
373
+ <span class="no-content">{{$.i18n.Tr "repo.issues.no_content"}}</span>
374
+ {{end}}
375
+ </div>
376
+ <div class="raw-content hide">{{.Content}}</div>
374
377
</div>
375
- <div class="raw-content hide">{{.Content}}</div>
376
378
</div>
377
379
</div>
378
380
</div>
Original file line number Diff line number Diff line change 850
850
box-shadow : 0 0 10px #8c8c8c ;
851
851
}
852
852
853
+ & :target > .content > .code-comment-content {
854
+ padding : 4px ;
855
+ }
856
+
857
+ & :target > .content > .code-comment-content > .text {
858
+ margin-bottom : 0 ;
859
+ }
860
+
853
861
.ui.form {
854
862
.field :first-child {
855
863
clear : none ;
You can’t perform that action at this time.
0 commit comments