diff options
author | Giteabot <teabot@gitea.io> | 2023-06-22 08:33:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 14:33:13 +0200 |
commit | 056829749e4e955861531cbb1ae60d47a28128f0 (patch) | |
tree | 5dc12f6ac5395c87fc7ed83990d426c5b835769a /templates/repo/issue/view_title.tmpl | |
parent | f18b8e7d8a6f4544b263b7e32aecf7d939756626 (diff) | |
download | gitea-056829749e4e955861531cbb1ae60d47a28128f0.tar.gz gitea-056829749e4e955861531cbb1ae60d47a28128f0.zip |
Diff page enhancements (#25398) (#25437)
Backport #25398 by @silverwind
Two small tweaks:
1. Vertically center arrow here when editing a PR:
<img width="405" alt="Screenshot 2023-06-20 at 19 48 49"
src="https://github.com/go-gitea/gitea/assets/115237/1d63764d-9fd9-467e-8a8e-9258c06475eb">
2. Use 2-row layout on diff viewed status and show it again on mobile:
<img width="142" alt="Screenshot 2023-06-20 at 19 51 21"
src="https://github.com/go-gitea/gitea/assets/115237/3046e782-163c-4f87-910c-a22066de8f1b">
Mobile view:
<img width="370" alt="Screenshot 2023-06-20 at 19 44 40"
src="https://github.com/go-gitea/gitea/assets/115237/9cf56347-7323-4d05-99a5-17ad215ee44d">
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/repo/issue/view_title.tmpl')
-rw-r--r-- | templates/repo/issue/view_title.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index e928b7bd25..895eaee8ce 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -70,9 +70,9 @@ {{$.locale.Tr "repo.pulls.title_desc" .NumCommits $headHref $baseHref | Safe}} </span> {{end}} - <span id="pull-desc-edit" class="gt-hidden"> + <span id="pull-desc-edit" class="gt-hidden flex-text-block"> <div class="ui floating filter dropdown"> - <div class="ui basic small button"> + <div class="ui basic small button gt-mr-0"> <span class="text">{{.locale.Tr "repo.pulls.compare_compare"}}: {{$.HeadTarget}}</span> </div> </div> |