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/admin/stacktrace-row.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/admin/stacktrace-row.tmpl')
-rw-r--r-- | templates/admin/stacktrace-row.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/stacktrace-row.tmpl b/templates/admin/stacktrace-row.tmpl index fdce81eda7..3f639ba161 100644 --- a/templates/admin/stacktrace-row.tmpl +++ b/templates/admin/stacktrace-row.tmpl @@ -1,5 +1,5 @@ <div class="item"> - <div class="tw-flex tw-content-center"> + <div class="tw-flex tw-items-center"> <div class="icon gt-ml-3 gt-mr-3"> {{if eq .Process.Type "request"}} {{svg "octicon-globe" 16}} @@ -40,7 +40,7 @@ </summary> <div class="list"> {{range .Entry}} - <div class="item tw-flex tw-content-center"> + <div class="item tw-flex tw-items-center"> <span class="icon gt-mr-4">{{svg "octicon-dot-fill" 16}}</span> <div class="content tw-flex-1"> <div class="header"><code>{{.Function}}</code></div> |