File tree 3 files changed +11
-10
lines changed
3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 13
13
14
14
{{$commitLink:= printf "%s/commit/%s" $.comment.Issue.PullRequest.BaseRepo.Link (PathEscape .ID.String)}}
15
15
16
- <span class="tw-flex-1 gt-ellipsis tw-font-mono{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject $.root.Context .Message $commitLink ($.comment.Issue.PullRequest.BaseRepo.ComposeMetas ctx)}}</span>
16
+ <span class="tw-flex-1 tw-font-mono gt-ellipsis" title="{{.Summary}}">
17
+ {{- RenderCommitMessageLinkSubject $.root.Context .Message $commitLink ($.comment.Issue.PullRequest.BaseRepo.ComposeMetas ctx) -}}
18
+ </span>
17
19
18
20
{{if IsMultilineCommitMessage .Message}}
19
- <button class="ui button js-toggle-commit-body ellipsis-button" aria-expanded="false">...</button>
20
- {{end}}
21
- {{if IsMultilineCommitMessage .Message}}
22
- <pre class="commit-body tw-hidden">{{RenderCommitBody $.root.Context .Message ($.comment.Issue.PullRequest.BaseRepo.ComposeMetas ctx)}}</pre>
21
+ <button class="ui button ellipsis-button show-panel toggle" data-panel="[data-singular-commit-body-for='{{$tag}}']">...</button>
23
22
{{end}}
24
23
25
24
<span class="shabox tw-flex tw-items-center">
47
46
</a>
48
47
</span>
49
48
</div>
49
+ {{if IsMultilineCommitMessage .Message}}
50
+ <pre class="commit-body tw-ml-[33px] tw-hidden" data-singular-commit-body-for="{{$tag}}">
51
+ {{- RenderCommitBody $.root.Context .Message ($.comment.Issue.PullRequest.BaseRepo.ComposeMetas ctx) -}}
52
+ </pre>
53
+ {{end}}
50
54
{{end}}
51
55
</div>
Original file line number Diff line number Diff line change @@ -734,6 +734,7 @@ input:-webkit-autofill:active,
734
734
font-weight : var (--font-weight-normal );
735
735
margin : 0 6px ;
736
736
padding : 5px 10px ;
737
+ flex-shrink : 0 ;
737
738
}
738
739
739
740
.ui .sha .label .shortsha {
Original file line number Diff line number Diff line change @@ -2349,14 +2349,10 @@ tbody.commit-list {
2349
2349
.commit-body {
2350
2350
margin : 0.25em 0 ;
2351
2351
white-space : pre-wrap;
2352
+ overflow-wrap : anywhere;
2352
2353
line-height : initial;
2353
2354
}
2354
2355
2355
- /* PR-comment */
2356
- .repository .timeline-item .commit-body {
2357
- margin-left : 45px ;
2358
- }
2359
-
2360
2356
.git-notes .top {
2361
2357
text-align : left;
2362
2358
}
You can’t perform that action at this time.
0 commit comments