summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-31 10:29:59 +0800
committerGitHub <noreply@github.com>2023-08-31 02:29:59 +0000
commit19a1e1b20ee45f02908c915c8540baab1396899c (patch)
treecceca2b1d7682a3d8420665910bea92a35df924b /templates/repo/diff
parent98f2bf23bc57d734471a08e396c687be6d194313 (diff)
downloadgitea-19a1e1b20ee45f02908c915c8540baab1396899c.tar.gz
gitea-19a1e1b20ee45f02908c915c8540baab1396899c.zip
Remove polluted `.ui.right` (#26825)
Each change is tested manually line by line. There are too many changes so I can't share dozens of screenshots. In short: 1. `ui right` could be still used in `ui top attached header`, because there is a special case. 2. A lot of `ui right` are just no-op, so they can be removed safely. 3. Some of the `ui right` should be replaced by `gt-float-right` (to avoid breaking, leave them to the future). 4. A few of the `ui right` could be rewritten by flex.
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/comment_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl
index 8565deb168..5aad8d9590 100644
--- a/templates/repo/diff/comment_form.tmpl
+++ b/templates/repo/diff/comment_form.tmpl
@@ -22,7 +22,7 @@
<div class="field footer gt-mx-3">
<span class="markup-info">{{svg "octicon-markup"}} {{$.root.locale.Tr "repo.diff.comment.markdown_info"}}</span>
- <div class="ui right">
+ <div class="gt-text-right">
{{if $.reply}}
<button class="ui submit green tiny button btn-reply" type="submit">{{$.root.locale.Tr "repo.diff.comment.reply"}}</button>
<input type="hidden" name="reply" value="{{$.reply}}">