-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange green point in dashboard repo list #26537
Comments
It's a scrollbar. Seems to be some Chrome-only issue because it works. Adding |
JS Fiddle: https://jsfiddle.net/6Ltbd581/16/ (ps: the Chrome: |
|
-> Fix various line-height styles #26553 |
Fix #26537 Use the same default line-height as "normalize.css" instead of "1". "1" is not right because it doesn't work with descent part and causes overflow problems. ![image](https://github.com/go-gitea/gitea/assets/2114189/3f2e8fb5-b326-4889-bfff-c79c75f1b7f4) --------- Co-authored-by: silverwind <me@silverwind.io>
@wxiaoguang @silverwind |
Then the "modules/normalize.css" should also be changed accordingly |
BTW, there is also this useless style in effect on these strings, which results in the too-early truncation. We should remove it, text truncates fine without it as well. .dashboard.feeds .filter.menu .item .text.truncate,
.dashboard.issues .filter.menu .item .text.truncate {
width: 75%;
}
Not sure I follow. Value is the same there, but I agree we could variablize it. |
Does --line-height related to screen resolution? |
No, |
-> Use line-height: 1.2 for default #26635 |
Fix #26537 again because 1.15 is too small for some fonts.
Description
I think this comes from #26520
(Using Chrome on Windows)
@silverwind
Gitea Version
latest
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None
The text was updated successfully, but these errors were encountered: