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 44 <div class="center">
55 <img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
66 <div class="hero">
7- <h1 class="ui icon header title">
7+ <h1 class="ui icon header title tw-text-balance ">
88 {{AppName}}
99 </h1>
10- <h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
10+ <h2 class="tw-text-balance" >{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
1111 </div>
1212 </div>
1313 </div>
1616 <h1 class="hero ui icon header">
1717 {{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}}
1818 </h1>
19- <p class="large">
19+ <p class="large tw-text-balance ">
2020 {{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"}}
2121 </p>
2222 </div>
2323 <div class="eight wide center column">
2424 <h1 class="hero ui icon header">
2525 {{svg "octicon-device-desktop"}} {{ctx.Locale.Tr "startpage.platform"}}
2626 </h1>
27- <p class="large">
27+ <p class="large tw-text-balance ">
2828 {{ctx.Locale.Tr "startpage.platform_desc" "https://go.dev/"}}
2929 </p>
3030 </div>
3434 <h1 class="hero ui icon header">
3535 {{svg "octicon-rocket"}} {{ctx.Locale.Tr "startpage.lightweight"}}
3636 </h1>
37- <p class="large">
37+ <p class="large tw-text-balance ">
3838 {{ctx.Locale.Tr "startpage.lightweight_desc"}}
3939 </p>
4040 </div>
4141 <div class="eight wide center column">
4242 <h1 class="hero ui icon header">
4343 {{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}}
4444 </h1>
45- <p class="large">
45+ <p class="large tw-text-balance ">
4646 {{ctx.Locale.Tr "startpage.license_desc" "https://code.gitea.io/gitea" "code.gitea.io/gitea" "https://github.com/go-gitea/gitea"}}
4747 </p>
4848 </div>
Original file line number Diff line number Diff line change 1818 {{end}}
1919 </span>
2020 </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}}
2222 <div class="text light meta tw-mt-1">
2323 {{if .Org.Location}}<div class="flex-text-block">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
2424 {{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 1919 <div class="header tw-text-center">
2020 {{.Title}}
2121 </div>
22- <div class="description tw-text-center">
22+ <div class="description tw-text-center tw-text-balance ">
2323 {{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
2424 </div>
2525 </div>
Original file line number Diff line number Diff line change 5959
6060.run-list-ref {
6161 display : inline-block !important ;
62+ max-width : 105px ;
6263}
6364
6465@media (max-width : 767.98px ) {
Original file line number Diff line number Diff line change @@ -318,6 +318,16 @@ a.label,
318318 background : var (--color-hover );
319319}
320320
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+
321331.inline-code-block {
322332 padding : 2px 4px ;
323333 border-radius : .24em ;
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ textarea:focus,
220220 color : var (--color-secondary-dark-5 );
221221 padding-bottom : 0.6em ;
222222 display : inline-block;
223+ text-wrap : balance;
223224}
224225
225226.m-captcha-style {
Original file line number Diff line number Diff line change @@ -1227,14 +1227,6 @@ td .commit-summary {
12271227 font-weight : var (--font-weight-normal );
12281228}
12291229
1230- .empty-placeholder {
1231- display : flex;
1232- flex-direction : column;
1233- align-items : center;
1234- padding-top : 40px ;
1235- padding-bottom : 40px ;
1236- }
1237-
12381230.repository .packages .file-size {
12391231 white-space : nowrap;
12401232}
@@ -2040,10 +2032,6 @@ tbody.commit-list {
20402032 box-shadow : 0 0.5rem 1rem var (--color-shadow ) !important ;
20412033}
20422034
2043- .migrate-entry .description {
2044- text-wrap : balance;
2045- }
2046-
20472035.commits-table .commits-table-right form {
20482036 display : flex;
20492037 align-items : center;
You can’t perform that action at this time.
0 commit comments