Skip to content

Commit 8fc4774

Browse files
puni9869silverwind
andauthored
Fix margin on the new/edit project page. (#25885)
New/Edit Project page consistent layout. Fix margin on the new/edit page. Before: <img width="1381" alt="image" src="https://github.com/go-gitea/gitea/assets/80308335/303e128c-0bd0-4289-a395-ff077e33b1c8"> <img width="1392" alt="image" src="https://github.com/go-gitea/gitea/assets/80308335/d11f7a42-ddf4-4c0a-a1b1-b8cefca9dfa1"> After <img width="1390" alt="image" src="https://github.com/go-gitea/gitea/assets/80308335/8ae1a979-9050-4d68-8f5d-9dfaa620c0e8"> <img width="1391" alt="image" src="https://github.com/go-gitea/gitea/assets/80308335/24a62711-dc0a-4425-bf84-7c1896b9a005"> Co-authored-by: silverwind <[email protected]>
1 parent dc3f50a commit 8fc4774

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/projects/new.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
{{end}}
99
</h2>
1010
{{template "base/alert" .}}
11-
<form class="ui form grid" action="{{.Link}}" method="post">
11+
<form class="ui form" action="{{.Link}}" method="post">
1212
{{.CsrfTokenHtml}}
13-
<div class="eleven wide column">
13+
<div>
1414
<input type="hidden" id="redirect" name="redirect" value="{{.redirect}}">
1515
<div class="field {{if .Err_Title}}error{{end}}">
1616
<label>{{.locale.Tr "repo.projects.title"}}</label>
@@ -55,7 +55,7 @@
5555
</div>
5656
</div>
5757
<div class="divider"></div>
58-
<div class="ui left">
58+
<div class="gt-text-right">
5959
<a class="ui cancel button" href="{{$.CancelLink}}">
6060
{{.locale.Tr "repo.milestones.cancel"}}
6161
</a>

0 commit comments

Comments
 (0)