aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-22 20:51:29 +0100
committerGitHub <noreply@github.com>2024-03-22 20:51:29 +0100
commit04f9ad056882fc3f21b247b16f84437adf0f36d8 (patch)
treea3afde513bac6f2b93a54acba624e2f0210e89d7 /templates/user/settings
parent3d751b6ec18e57698ce86b79866031d2c80c2071 (diff)
downloadgitea-04f9ad056882fc3f21b247b16f84437adf0f36d8.tar.gz
gitea-04f9ad056882fc3f21b247b16f84437adf0f36d8.zip
Fix incorrect tailwind migration (#30007)
Fixes https://github.com/go-gitea/gitea/issues/30005. Regression from https://github.com/go-gitea/gitea/pull/29945. There was only once instance of `tw-content-center` before that PR, so I just ran below command and reverted that one instance. ```sh perl -p -i -e 's#tw-content-center#tw-items-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/* ```
Diffstat (limited to 'templates/user/settings')
-rw-r--r--templates/user/settings/applications_oauth2_list.tmpl2
-rw-r--r--templates/user/settings/security/openid.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/applications_oauth2_list.tmpl b/templates/user/settings/applications_oauth2_list.tmpl
index 1125a66d47..bfbebb104d 100644
--- a/templates/user/settings/applications_oauth2_list.tmpl
+++ b/templates/user/settings/applications_oauth2_list.tmpl
@@ -4,7 +4,7 @@
{{ctx.Locale.Tr "settings.oauth2_application_create_description"}}
</div>
{{range .Applications}}
- <div class="flex-item tw-content-center">
+ <div class="flex-item tw-items-center">
<div class="flex-item-leading">
{{svg "octicon-apps" 32}}
</div>
diff --git a/templates/user/settings/security/openid.tmpl b/templates/user/settings/security/openid.tmpl
index 63bc56ba9b..b0473c9df5 100644
--- a/templates/user/settings/security/openid.tmpl
+++ b/templates/user/settings/security/openid.tmpl
@@ -7,7 +7,7 @@
{{ctx.Locale.Tr "settings.openid_desc"}}
</div>
{{range .OpenIDs}}
- <div class="flex-item tw-content-center">
+ <div class="flex-item tw-items-center">
<div class="flex-item-leading">
{{svg "fontawesome-openid" 20}}
</div>