File tree 3 files changed +2
-10
lines changed 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1
1
<!-- there is always at least one button (by context/repo.go) -->
2
2
{{if $.CloneButtonShowHTTPS}}
3
- <button class="ui small compact clone button gt-no-transition " id="repo-clone-https" data-link="{{$.CloneButtonOriginLink.HTTPS}}">
3
+ <button class="ui small compact clone button" id="repo-clone-https" data-link="{{$.CloneButtonOriginLink.HTTPS}}">
4
4
HTTPS
5
5
</button>
6
6
{{end}}
7
7
{{if $.CloneButtonShowSSH}}
8
- <button class="ui small compact clone button gt-no-transition " id="repo-clone-ssh" data-link="{{$.CloneButtonOriginLink.SSH}}">
8
+ <button class="ui small compact clone button" id="repo-clone-ssh" data-link="{{$.CloneButtonOriginLink.SSH}}">
9
9
SSH
10
10
</button>
11
11
{{end}}
Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ Gitea's private styles use `g-` prefix.
105
105
.gt-border-secondary-left { border-left : 1px solid var (--color-secondary ) !important ; }
106
106
.gt-border-secondary-right { border-right : 1px solid var (--color-secondary ) !important ; }
107
107
108
- .gt-no-transition { transition : none !important ; }
109
-
110
108
.gt-bg-red { background : var (--color-red ) !important ; }
111
109
.gt-bg-orange { background : var (--color-orange ) !important ; }
112
110
.gt-bg-yellow { background : var (--color-yellow ) !important ; }
Original file line number Diff line number Diff line change @@ -53,12 +53,6 @@ export function initRepoCloneLink() {
53
53
return ;
54
54
}
55
55
56
- // restore animation after first init
57
- setTimeout ( ( ) => {
58
- $repoCloneSsh . removeClass ( 'gt-no-transition' ) ;
59
- $repoCloneHttps . removeClass ( 'gt-no-transition' ) ;
60
- } , 100 ) ;
61
-
62
56
$repoCloneSsh . on ( 'click' , ( ) => {
63
57
localStorage . setItem ( 'repo-clone-protocol' , 'ssh' ) ;
64
58
window . updateCloneStates ( ) ;
You can’t perform that action at this time.
0 commit comments