diff options
author | puni9869 <80308335+puni9869@users.noreply.github.com> | 2023-07-08 16:27:17 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 10:57:17 +0000 |
commit | 2ff0c12a95d52ef97286b5bce681a0c33263cd1b (patch) | |
tree | 8ab2a700f585e371554bf47f1eacac4db5a37b9b /templates/repo/issue/view_content.tmpl | |
parent | 429c12fe6220a9f854ee5f3275da7e43ba47f89e (diff) | |
download | gitea-2ff0c12a95d52ef97286b5bce681a0c33263cd1b.tar.gz gitea-2ff0c12a95d52ef97286b5bce681a0c33263cd1b.zip |
Repository Archived text title center align (#25767)
Archive text title center align
<details>
<summary>Screen shots</summary>
Before
![image](https://github.com/go-gitea/gitea/assets/80308335/90182367-4d06-4fc8-b7aa-21c21225d2bd)
After
![image](https://github.com/go-gitea/gitea/assets/80308335/3dcc0d0d-75f4-415d-afbf-03921075b4db)
![image](https://github.com/go-gitea/gitea/assets/80308335/317d74f8-0ae9-4dc7-9508-1833d2d4f327)
BTW On github
![image](https://github.com/go-gitea/gitea/assets/80308335/1801fd2d-1803-4ee6-8856-ef2f623df2b4)
</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index dc2754d5c6..ab8da434ee 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -125,7 +125,7 @@ </div> </div> {{else if .Repository.IsArchived}} - <div class="ui warning message"> + <div class="ui warning message gt-text-center"> {{if .Issue.IsPull}} {{.locale.Tr "repo.archive.pull.nocomment"}} {{else}} @@ -135,7 +135,7 @@ {{end}} {{else}} {{/* not .IsSigned */}} {{if .Repository.IsArchived}} - <div class="ui warning message"> + <div class="ui warning message gt-text-center"> {{if .Issue.IsPull}} {{.locale.Tr "repo.archive.pull.nocomment"}} {{else}} |