File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 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 {{if not $.IsSigned}} disabled{{end}}" tabindex="0">
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">
86
+ <div class="ui labeled button{{if not $.IsSigned}} disabled{{end}}" tabindex="0">
87
+ <a class="ui compact small basic button{{if 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"}}"{{end}} data-position="top center" data-variation="tiny">
88
88
{{svg "octicon-repo-forked"}}{{$.i18n.Tr "repo.fork"}}
89
89
</a>
90
90
<a class="ui basic label" href="{{.Link}}/forks">
Original file line number Diff line number Diff line change @@ -1585,6 +1585,7 @@ a.ui.label:hover {
1585
1585
border-left : none ;
1586
1586
}
1587
1587
1588
+ .ui.labeled.button.disabled > .button :hover ,
1588
1589
.ui.basic.buttons .button ,
1589
1590
.ui.basic.button {
1590
1591
color : var (--color-text-light );
Original file line number Diff line number Diff line change @@ -2861,6 +2861,10 @@ tbody.commit-list {
2861
2861
opacity : var (--opacity-disabled );
2862
2862
}
2863
2863
2864
+ .repo-buttons .ui.labeled.button.disabled {
2865
+ pointer-events : inherit !important ;
2866
+ }
2867
+
2864
2868
.repo-buttons .ui.labeled.button > .label {
2865
2869
border-left : 0 !important ;
2866
2870
margin : 0 !important ;
You can’t perform that action at this time.
0 commit comments