File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
templates/repo/issue/view_content Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 556
556
<div class="ui divider"></div>
557
557
558
558
{{if or .PinEnabled .Issue.IsPinned}}
559
- <form class="gt-mt-2 form-fetch-action" method="post" {{if $.NewPinAllowed}}action="{{.Issue.Link}}/pin"{{else}}data-tooltip-content="{{.locale.Tr "repo.issues.max_pinned"}}"{{end}}>
559
+ <form class="gt-mt-2 form-fetch-action single-button-form " method="post" {{if $.NewPinAllowed}}action="{{.Issue.Link}}/pin"{{else}}data-tooltip-content="{{.locale.Tr "repo.issues.max_pinned"}}"{{end}}>
560
560
{{$.CsrfTokenHtml}}
561
561
<button class="fluid ui button {{if not $.NewPinAllowed}}disabled{{end}}">
562
562
{{if not .Issue.IsPinned}}
599
599
{{end}}
600
600
</div>
601
601
602
- <form class="ui form form-fetch-action" action="{{.Issue.Link}}{{if .Issue.IsLocked}}/unlock{{else}}/lock{{end}}"
602
+ <form class="ui form form-fetch-action single-button-form " action="{{.Issue.Link}}{{if .Issue.IsLocked}}/unlock{{else}}/lock{{end}}"
603
603
method="post">
604
604
{{.CsrfTokenHtml}}
605
605
Original file line number Diff line number Diff line change 35
35
border-width : 2px ;
36
36
}
37
37
38
+ form .is-loading ::after {
39
+ max-height : 50% ;
40
+ max-width : 50% ;
41
+ }
42
+
43
+ form .single-button-form .is-loading > * {
44
+ opacity : 1 ;
45
+ }
46
+
47
+ form .single-button-form .is-loading .button {
48
+ color : transparent;
49
+ }
50
+
38
51
.markup pre .is-loading ,
39
52
.editor-loading .is-loading ,
40
53
.pdf-content .is-loading {
You can’t perform that action at this time.
0 commit comments