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/repo/blame.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/repo/blame.tmpl')
-rw-r--r-- | templates/repo/blame.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/blame.tmpl b/templates/repo/blame.tmpl index 5bc9a1375e..05cdf53b44 100644 --- a/templates/repo/blame.tmpl +++ b/templates/repo/blame.tmpl @@ -11,11 +11,11 @@ {{end}} {{end}} <div class="{{TabSizeClass .Editorconfig .FileName}} non-diff-file-content"> - <h4 class="file-header ui top attached header tw-flex tw-content-center tw-justify-between tw-flex-wrap"> - <div class="file-header-left tw-flex tw-content-center gt-py-3 gt-pr-4"> + <h4 class="file-header ui top attached header tw-flex tw-items-center tw-justify-between tw-flex-wrap"> + <div class="file-header-left tw-flex tw-items-center gt-py-3 gt-pr-4"> {{template "repo/file_info" .}} </div> - <div class="file-header-right file-actions tw-flex tw-content-center tw-flex-wrap"> + <div class="file-header-right file-actions tw-flex tw-items-center tw-flex-wrap"> <div class="ui buttons"> <a class="ui tiny button" href="{{$.RawFileLink}}">{{ctx.Locale.Tr "repo.file_raw"}}</a> {{if not .IsViewCommit}} |