diff options
author | puni9869 <80308335+puni9869@users.noreply.github.com> | 2023-07-16 20:23:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 14:53:54 +0000 |
commit | 8fc4774e5a37a10e1f9da78e5d679f565aa681e1 (patch) | |
tree | 81ea59b4ae2e11f0b3e987c7a9f99420f4944e6f | |
parent | dc3f50aadfdd06dff7e41adca00d8146e6b81839 (diff) | |
download | gitea-8fc4774e5a37a10e1f9da78e5d679f565aa681e1.tar.gz gitea-8fc4774e5a37a10e1f9da78e5d679f565aa681e1.zip |
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 <me@silverwind.io>
-rw-r--r-- | templates/projects/new.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl index 6b110e0292..df5598935e 100644 --- a/templates/projects/new.tmpl +++ b/templates/projects/new.tmpl @@ -8,9 +8,9 @@ {{end}} </h2> {{template "base/alert" .}} -<form class="ui form grid" action="{{.Link}}" method="post"> +<form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} - <div class="eleven wide column"> + <div> <input type="hidden" id="redirect" name="redirect" value="{{.redirect}}"> <div class="field {{if .Err_Title}}error{{end}}"> <label>{{.locale.Tr "repo.projects.title"}}</label> @@ -55,7 +55,7 @@ </div> </div> <div class="divider"></div> - <div class="ui left"> + <div class="gt-text-right"> <a class="ui cancel button" href="{{$.CancelLink}}"> {{.locale.Tr "repo.milestones.cancel"}} </a> |