summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/new_review.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-06-21 07:22:48 +0800
committerGitHub <noreply@github.com>2023-06-20 23:22:48 +0000
commit831db53c214f81e5eaf055716a42865007cb8123 (patch)
tree440d26e13341948c2ccd7ece6dc597ad8fd7a46d /templates/repo/diff/new_review.tmpl
parent35a653d7edbe0d693649604b8309bfc578dd988b (diff)
downloadgitea-831db53c214f81e5eaf055716a42865007cb8123.tar.gz
gitea-831db53c214f81e5eaf055716a42865007cb8123.zip
Fix dropdown icon layout on diff page (#25397)
Address https://github.com/go-gitea/gitea/pull/25163#issuecomment-1599207916 Remove the unused "icon-button". And fix the layout: Without the dropdown icon: ``` {{svg "gitea-whitespace"}} ``` ![image](https://github.com/go-gitea/gitea/assets/2114189/58a524ba-f289-4982-aea2-6f9f9f9cbdcf) With the dropdown icon: ``` {{svg "gitea-whitespace" 16 "gt-mr-3"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}} ``` ![image](https://github.com/go-gitea/gitea/assets/2114189/eb99168b-5d49-40a7-8665-5296cbb4e486)
Diffstat (limited to 'templates/repo/diff/new_review.tmpl')
-rw-r--r--templates/repo/diff/new_review.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/new_review.tmpl b/templates/repo/diff/new_review.tmpl
index c407064176..128c1e5504 100644
--- a/templates/repo/diff/new_review.tmpl
+++ b/templates/repo/diff/new_review.tmpl
@@ -1,5 +1,5 @@
<div id="review-box">
- <button class="ui tiny green button gt-ml-2 gt-mr-0 js-btn-review">
+ <button class="ui tiny green button gt-pr-2 gt-df js-btn-review">
{{.locale.Tr "repo.diff.review"}}
<span class="ui small label review-comments-counter" data-pending-comment-number="{{.PendingCodeCommentNumber}}">{{.PendingCodeCommentNumber}}</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}