]> source.dussan.org Git - gitea.git/commit
Clean up various avatar dimensions (#24701)
authorsilverwind <me@silverwind.io>
Sun, 14 May 2023 14:15:59 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Sun, 14 May 2023 14:15:59 +0000 (14:15 +0000)
commitb92c142c97c3add1aed736a0a7c7ab044588662d
tree48e288869deab0664189cf7beab0ab486eace02c
parent3af2c8e4ab4dca53a16ead9940a0ac4752072045
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>
templates/repo/commits_list_small.tmpl
templates/repo/issue/view_content.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/shared/issuelist.tmpl
web_src/css/base.css
web_src/css/modules/comment.css
web_src/css/organization.css
web_src/css/repository.css
web_src/css/shared/issuelist.css