File tree Expand file tree Collapse file tree 7 files changed +20
-20
lines changed Expand file tree Collapse file tree 7 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 4
4
<div class="center">
5
5
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
6
6
<div class="hero">
7
- <h1 class="ui icon header title">
7
+ <h1 class="ui icon header title tw-text-balance ">
8
8
{{AppName}}
9
9
</h1>
10
- <h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
10
+ <h2 class="tw-text-balance" >{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
11
11
</div>
12
12
</div>
13
13
</div>
16
16
<h1 class="hero ui icon header">
17
17
{{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}}
18
18
</h1>
19
- <p class="large">
19
+ <p class="large tw-text-balance ">
20
20
{{ctx.Locale.Tr "startpage.install_desc" "https://docs.gitea.com/installation/install-from-binary" "https://github.com/go-gitea/gitea/tree/master/docker" "https://docs.gitea.com/installation/install-from-package"}}
21
21
</p>
22
22
</div>
23
23
<div class="eight wide center column">
24
24
<h1 class="hero ui icon header">
25
25
{{svg "octicon-device-desktop"}} {{ctx.Locale.Tr "startpage.platform"}}
26
26
</h1>
27
- <p class="large">
27
+ <p class="large tw-text-balance ">
28
28
{{ctx.Locale.Tr "startpage.platform_desc" "https://go.dev/"}}
29
29
</p>
30
30
</div>
34
34
<h1 class="hero ui icon header">
35
35
{{svg "octicon-rocket"}} {{ctx.Locale.Tr "startpage.lightweight"}}
36
36
</h1>
37
- <p class="large">
37
+ <p class="large tw-text-balance ">
38
38
{{ctx.Locale.Tr "startpage.lightweight_desc"}}
39
39
</p>
40
40
</div>
41
41
<div class="eight wide center column">
42
42
<h1 class="hero ui icon header">
43
43
{{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}}
44
44
</h1>
45
- <p class="large">
45
+ <p class="large tw-text-balance ">
46
46
{{ctx.Locale.Tr "startpage.license_desc" "https://code.gitea.io/gitea" "code.gitea.io/gitea" "https://github.com/go-gitea/gitea"}}
47
47
</p>
48
48
</div>
Original file line number Diff line number Diff line change 18
18
{{end}}
19
19
</span>
20
20
</div>
21
- {{if .RenderedDescription}}<div class="render-content markup tw-break-anywhere ">{{.RenderedDescription}}</div>{{end}}
21
+ {{if .RenderedDescription}}<div class="render-content markup">{{.RenderedDescription}}</div>{{end}}
22
22
<div class="text light meta tw-mt-1">
23
23
{{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
24
24
{{if .Org.Website}}<div class="flex-text-block">{{svg "octicon-link"}} <a class="muted" target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
Original file line number Diff line number Diff line change 19
19
<div class="header tw-text-center">
20
20
{{.Title}}
21
21
</div>
22
- <div class="description tw-text-center">
22
+ <div class="description tw-text-center tw-text-balance ">
23
23
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
24
24
</div>
25
25
</div>
Original file line number Diff line number Diff line change 59
59
60
60
.run-list-ref {
61
61
display : inline-block !important ;
62
+ max-width : 105px ;
62
63
}
63
64
64
65
@media (max-width : 767.98px ) {
Original file line number Diff line number Diff line change @@ -318,6 +318,16 @@ a.label,
318
318
background : var (--color-hover );
319
319
}
320
320
321
+ .empty-placeholder {
322
+ display : flex;
323
+ flex-direction : column;
324
+ align-items : center;
325
+ padding-top : 40px ;
326
+ padding-bottom : 40px ;
327
+ text-align : center;
328
+ text-wrap : balance;
329
+ }
330
+
321
331
.inline-code-block {
322
332
padding : 2px 4px ;
323
333
border-radius : .24em ;
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ textarea:focus,
220
220
color : var (--color-secondary-dark-5 );
221
221
padding-bottom : 0.6em ;
222
222
display : inline-block;
223
+ text-wrap : balance;
223
224
}
224
225
225
226
.m-captcha-style {
Original file line number Diff line number Diff line change @@ -1227,14 +1227,6 @@ td .commit-summary {
1227
1227
font-weight : var (--font-weight-normal );
1228
1228
}
1229
1229
1230
- .empty-placeholder {
1231
- display : flex;
1232
- flex-direction : column;
1233
- align-items : center;
1234
- padding-top : 40px ;
1235
- padding-bottom : 40px ;
1236
- }
1237
-
1238
1230
.repository .packages .file-size {
1239
1231
white-space : nowrap;
1240
1232
}
@@ -2055,10 +2047,6 @@ tbody.commit-list {
2055
2047
box-shadow : 0 0.5rem 1rem var (--color-shadow ) !important ;
2056
2048
}
2057
2049
2058
- .migrate-entry .description {
2059
- text-wrap : balance;
2060
- }
2061
-
2062
2050
.commits-table .commits-table-right form {
2063
2051
display : flex;
2064
2052
align-items : center;
You can’t perform that action at this time.
0 commit comments