summaryrefslogtreecommitdiffstats
path: root/templates/admin/repo
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/admin/repo
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/admin/repo')
-rw-r--r--templates/admin/repo/unadopted.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/repo/unadopted.tmpl b/templates/admin/repo/unadopted.tmpl
index eb8188de14..9166a844a7 100644
--- a/templates/admin/repo/unadopted.tmpl
+++ b/templates/admin/repo/unadopted.tmpl
@@ -20,7 +20,7 @@
{{if .Dirs}}
<div class="ui aligned divided list">
{{range $dirI, $dir := .Dirs}}
- <div class="item tw-flex tw-content-center">
+ <div class="item tw-flex tw-items-center">
<span class="tw-flex-1"> {{svg "octicon-file-directory-fill"}} {{$dir}}</span>
<div>
<button class="ui button primary show-modal gt-p-3" data-modal="#adopt-unadopted-modal-{{$dirI}}">{{svg "octicon-plus"}} {{ctx.Locale.Tr "repo.adopt_preexisting_label"}}</button>