diff options
author | silverwind <me@silverwind.io> | 2023-05-14 16:15:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-14 14:15:59 +0000 |
commit | b92c142c97c3add1aed736a0a7c7ab044588662d (patch) | |
tree | 48e288869deab0664189cf7beab0ab486eace02c /templates/repo/issue/view_content/pull.tmpl | |
parent | 3af2c8e4ab4dca53a16ead9940a0ac4752072045 (diff) | |
download | gitea-b92c142c97c3add1aed736a0a7c7ab044588662d.tar.gz gitea-b92c142c97c3add1aed736a0a7c7ab044588662d.zip |
Clean up various avatar dimensions (#24701)
Clean up a few cases where avatar dimensions were overwritten via CSS,
which were no longer needed or were possible to set via HTML width.
Also included are two small fixes:
- Fix one more case of incorrect avatar offset on review timeline
- Vertically center avatars in review sidebar
There is more to be done here, but some of the work depends on Fomantic
`comment` module removal, or in the case of org member lists, a refactor
of the `avatarlink` template to accept a size.
<img width="371" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/9c5902fb-2b89-4a7d-a152-60e74c3b2c56">
<img width="306" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/c8d92e2a-91c9-4f4a-a7de-6ae1a6bc0479">
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/issue/view_content/pull.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 907ee19857..5325c710b4 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -115,7 +115,7 @@ {{- else if .Issue.PullRequest.IsChecking}}yellow {{- else if .Issue.PullRequest.IsEmpty}}grey {{- else if .Issue.PullRequest.CanAutoMerge}}green - {{- else}}red{{end}}">{{svg "octicon-git-merge" 32}}</a> + {{- else}}red{{end}}">{{svg "octicon-git-merge" 40}}</a> <div class="content"> {{template "repo/pulls/status" .}} {{$showGeneralMergeForm := false}} |