File tree 2 files changed +7
-2
lines changed 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 83
83
</div>
84
84
</form>
85
85
{{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}
86
- <div class="ui labeled button" tabindex="0">
86
+ <div class="ui labeled button {{if not $.IsSigned}} disabled{{end}} " tabindex="0">
87
87
<a class="ui compact small basic button {{if or (not $.IsSigned) (not $.CanSignedUserFork)}}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{ else }} data-content="{{$.i18n.Tr "repo.fork_guest_user" }}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{AppSubUrl}}/repo/fork/{{.ID}}" {{end}} data-position="top center" data-variation="tiny">
88
88
{{svg "octicon-repo-forked"}}{{$.i18n.Tr "repo.fork"}}
89
89
</a>
Original file line number Diff line number Diff line change @@ -2768,12 +2768,17 @@ tbody.commit-list {
2768
2768
2769
2769
.commit-body {
2770
2770
white-space : pre-wrap ;
2771
+ line-height : initial ;
2771
2772
}
2772
2773
2773
2774
.repository :not (.diff ) {
2774
- .commit-body {
2775
+ .commit-body { // commit history list
2775
2776
margin : 0 ;
2776
2777
}
2778
+
2779
+ .timeline-item .commit-body { // PR-comment
2780
+ margin-left : 40px ;
2781
+ }
2777
2782
}
2778
2783
2779
2784
.git-notes.top {
You can’t perform that action at this time.
0 commit comments