diff options
author | silverwind <me@silverwind.io> | 2024-03-22 20:51:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 20:51:29 +0100 |
commit | 04f9ad056882fc3f21b247b16f84437adf0f36d8 (patch) | |
tree | a3afde513bac6f2b93a54acba624e2f0210e89d7 /templates/user/auth/webauthn.tmpl | |
parent | 3d751b6ec18e57698ce86b79866031d2c80c2071 (diff) | |
download | gitea-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/auth/webauthn.tmpl')
-rw-r--r-- | templates/user/auth/webauthn.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/webauthn.tmpl b/templates/user/auth/webauthn.tmpl index 375ebba9ae..7c543cb16d 100644 --- a/templates/user/auth/webauthn.tmpl +++ b/templates/user/auth/webauthn.tmpl @@ -10,7 +10,7 @@ {{template "base/alert" .}} <p>{{ctx.Locale.Tr "webauthn_sign_in"}}</p> </div> - <div class="ui attached segment tw-flex tw-content-center tw-justify-center gt-gap-2 gt-py-3"> + <div class="ui attached segment tw-flex tw-items-center tw-justify-center gt-gap-2 gt-py-3"> <div class="is-loading" style="width: 40px; height: 40px"></div> {{ctx.Locale.Tr "webauthn_press_button"}} </div> |