Issuelist icon too high #7141

Closed
opened 2025-11-02 07:16:50 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @zeripath on GitHub (Apr 10, 2021).

Description

The issue list icon is now too high

Screenshots

Screenshot from 2021-04-10 12-36-02

Originally created by @zeripath on GitHub (Apr 10, 2021). - Gitea version (or commit ref): 1.15.0+dev-108-g84f5a0bc6 - Can you reproduce the bug at https://try.gitea.io: - [X] Yes (provide example URL): https://try.gitea.io/issues - [ ] No ## Description The issue list icon is now too high ## Screenshots ![Screenshot from 2021-04-10 12-36-02](https://user-images.githubusercontent.com/1824502/114268499-53fe1900-99f9-11eb-8d12-3c8c4770d5db.png)
GiteaMirror added the topic/ui label 2025-11-02 07:16:50 -06:00
Author
Owner

@zeripath commented on GitHub (Apr 10, 2021):

Could fix this by sticking an ac in the class here:

84f5a0bc62/templates/shared/issuelist.tmpl (L5)

which would make this:

Screenshot from 2021-04-10 12-51-31

@zeripath commented on GitHub (Apr 10, 2021): Could fix this by sticking an ac in the class here: https://github.com/go-gitea/gitea/blob/84f5a0bc62568b6d0a67969e460f4d41339a07d6/templates/shared/issuelist.tmpl#L5 which would make this: ![Screenshot from 2021-04-10 12-51-31](https://user-images.githubusercontent.com/1824502/114268897-7e50d600-99fb-11eb-9d8c-3c8d66d5eff6.png)
Author
Owner

@silverwind commented on GitHub (Apr 10, 2021):

The icon should be centered on the first text line, so I guess it needs manual positioning.

@silverwind commented on GitHub (Apr 10, 2021): The icon should be centered on the first text line, so I guess it needs manual positioning.
Author
Owner

@silverwind commented on GitHub (Apr 14, 2021):

I can not reproduce the original screenshot on latest Chrome. Can you try updating Chrome?

https://github.com/go-gitea/gitea/pull/15391#issuecomment-817647436

@silverwind commented on GitHub (Apr 14, 2021): I can not reproduce the original screenshot on latest Chrome. Can you try updating Chrome? https://github.com/go-gitea/gitea/pull/15391#issuecomment-817647436
Author
Owner

@zeripath commented on GitHub (Apr 14, 2021):

it persists.

@zeripath commented on GitHub (Apr 14, 2021): it persists.
Author
Owner

@zeripath commented on GitHub (Apr 14, 2021):

the issue may be related to segoe ui on linux

@zeripath commented on GitHub (Apr 14, 2021): the issue may be related to segoe ui on linux
Author
Owner

@silverwind commented on GitHub (Apr 14, 2021):

Yeah must be something like that. It's kind of hard to align this properly. I guess I'd need to boot up a Linux VM to verify.

@silverwind commented on GitHub (Apr 14, 2021): Yeah must be something like that. It's kind of hard to align this properly. I guess I'd need to boot up a Linux VM to verify.
Author
Owner

@zeripath commented on GitHub (Apr 14, 2021):

I think it's just Segoe UI - its baseline sits 2.5px below the svg height.

https://core.trac.wordpress.org/ticket/48423

I'm not certain how we can handle it except by abandoning segoe-ui. I might just remove it from my fonts as I only occasionally need it.

@zeripath commented on GitHub (Apr 14, 2021): I think it's just Segoe UI - its baseline sits 2.5px below the svg height. https://core.trac.wordpress.org/ticket/48423 I'm not certain how we can handle it except by abandoning segoe-ui. I might just remove it from my fonts as I only occasionally need it.
Author
Owner

@zeripath commented on GitHub (Apr 14, 2021):

Do we know if Windows has the same problem?

@zeripath commented on GitHub (Apr 14, 2021): Do we know if Windows has the same problem?
Author
Owner

@zeripath commented on GitHub (Apr 14, 2021):

The NotoSans looks like the baseline is perhaps 1px below the svg.

@zeripath commented on GitHub (Apr 14, 2021): The NotoSans looks like the baseline is perhaps 1px below the svg.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7141