From 037366f93f94a3185b56d21e90335305c8d4b685 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 14 Jun 2023 20:39:51 -0400 Subject: [PATCH] Fix edit OAuth application width (#25262) (#25263) Backport #25262 by @denyskon The `
` broke the width of this section - fix by removing it. Before: ![grafik](https://github.com/go-gitea/gitea/assets/47871822/df655636-0dc3-4c8a-9778-a14c80fc807b) After: ![grafik](https://github.com/go-gitea/gitea/assets/47871822/e74c74be-097e-43fb-a698-92337aa128e9) Co-authored-by: Denys Konovalov --- .../applications_oauth2_edit_form.tmpl | 90 +++++++++---------- 1 file changed, 44 insertions(+), 46 deletions(-) diff --git a/templates/user/settings/applications_oauth2_edit_form.tmpl b/templates/user/settings/applications_oauth2_edit_form.tmpl index 0ec81f3a99..dc094a1a5c 100644 --- a/templates/user/settings/applications_oauth2_edit_form.tmpl +++ b/templates/user/settings/applications_oauth2_edit_form.tmpl @@ -1,54 +1,52 @@ -
-

- {{.locale.Tr "settings.edit_oauth2_application"}} -

-
-

{{.locale.Tr "settings.oauth2_application_create_description"}}

+

+ {{.locale.Tr "settings.edit_oauth2_application"}} +

+
+

{{.locale.Tr "settings.oauth2_application_create_description"}}

+
+
+ {{.CsrfTokenHtml}} +
+ +
-
- {{.CsrfTokenHtml}} + {{if .ClientSecret}}
- - + +
- {{if .ClientSecret}} -
- - -
- {{else}} -
- - -
- {{end}} -
- -
- {{.CsrfTokenHtml}} - {{.locale.Tr "settings.oauth2_regenerate_secret_hint"}} - -
+ {{else}} +
+ +
-
-
-
+ {{end}} +
+ + {{.CsrfTokenHtml}} -
- - -
-
- - -
-
- - -
- + {{.locale.Tr "settings.oauth2_regenerate_secret_hint"}} +
+
+
+ {{.CsrfTokenHtml}} +
+ + +
+
+ + +
+
+ + +
+ +
+