File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 38
38
</div>
39
39
</div>
40
40
{{if not (or .IsBeingCreated .IsBroken)}}
41
- <div class="repo-buttons">
41
+ <div class="repo-buttons gitea-buttons ">
42
42
{{if $.RepoTransfer}}
43
43
<form method="post" action="{{$.RepoLink}}/action/accept_transfer?redirect_to={{$.RepoLink}}">
44
44
{{$.CsrfTokenHtml}}
Original file line number Diff line number Diff line change 11
11
{{end}}
12
12
</h2>
13
13
</div>
14
+ <div class="gitea-buttons">
14
15
{{if .EnableFeed}}
15
16
<a class="ui small button" href="{{.RepoLink}}/{{if .PageIsTagList}}tags{{else}}releases{{end}}.rss">
16
17
{{svg "octicon-rss" 16}} {{ctx.Locale.Tr "rss_feed"}}
21
22
{{ctx.Locale.Tr "repo.release.new_release"}}
22
23
</a>
23
24
{{end}}
25
+ </div>
24
26
</div>
25
27
<div class="divider"></div>
26
28
{{else if $canReadCode}}
Original file line number Diff line number Diff line change @@ -421,3 +421,15 @@ It needs some tricks to tweak the left/right borders with active state */
421
421
padding-top : 0.58928571em ;
422
422
padding-bottom : 0.58928571em ;
423
423
}
424
+
425
+ .gitea-buttons {
426
+ align-items : center;
427
+ display : flex;
428
+ flex-flow : row wrap;
429
+ word-break : keep-all;
430
+ gap : 0.5em ;
431
+ }
432
+
433
+ .gitea-buttons .ui .button {
434
+ margin : 0 !important ;
435
+ }
Original file line number Diff line number Diff line change 28
28
flex-wrap : nowrap;
29
29
}
30
30
31
- .repo-buttons {
32
- align-items : center;
33
- display : flex;
34
- flex-flow : row wrap;
35
- word-break : keep-all;
36
- gap : 0.25em ;
37
- }
38
-
39
31
.repo-buttons button [disabled ] ~ .label {
40
32
opacity : var (--opacity-disabled );
41
33
color : var (--color-text-dark );
You can’t perform that action at this time.
0 commit comments