diff options
author | silverwind <me@silverwind.io> | 2022-08-26 18:49:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 18:49:40 +0200 |
commit | 94549bcd115e4b6da9f636293e50f65c708df681 (patch) | |
tree | d38ef7be860595122957cf27487932a31b9f4622 /templates/repo/diff/new_review.tmpl | |
parent | b0c62846f10dfe91481371d3d7e1860d292d1058 (diff) | |
download | gitea-94549bcd115e4b6da9f636293e50f65c708df681.tar.gz gitea-94549bcd115e4b6da9f636293e50f65c708df681.zip |
Change review buttons to icons to make space for text (#20934)
The layout on the review code view was broken depending on length of the text. Change all three buttons to icons with tooltip to make more space for these long texts.
Fixes: #20922
Diffstat (limited to 'templates/repo/diff/new_review.tmpl')
-rw-r--r-- | templates/repo/diff/new_review.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/new_review.tmpl b/templates/repo/diff/new_review.tmpl index 91dae84e9a..857577b152 100644 --- a/templates/repo/diff/new_review.tmpl +++ b/templates/repo/diff/new_review.tmpl @@ -1,5 +1,5 @@ <div class="ui top right pointing dropdown custom" id="review-box"> - <div class="ui tiny green button btn-review"> + <div class="ui tiny green button btn-review ml-2 mr-0"> {{.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"}} |