File tree 3 files changed +10
-10
lines changed
3 files changed +10
-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 @@ -730,6 +730,7 @@ input:-webkit-autofill:active,
730
730
font-weight : var (--font-weight-normal );
731
731
margin : 0 6px ;
732
732
padding : 5px 10px ;
733
+ flex-shrink : 0 ;
733
734
}
734
735
735
736
.ui .sha .label .shortsha {
Original file line number Diff line number Diff line change @@ -2352,11 +2352,6 @@ tbody.commit-list {
2352
2352
line-height : initial;
2353
2353
}
2354
2354
2355
- /* PR-comment */
2356
- .repository .timeline-item .commit-body {
2357
- margin-left : 45px ;
2358
- }
2359
-
2360
2355
.git-notes .top {
2361
2356
text-align : left;
2362
2357
}
You can’t perform that action at this time.
0 commit comments