-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Incorrect alignment of "Viewed" checkbox for long (wrapped) file names #23248
Comments
Looks less like the |
Could probably be fixed by moving the |
Besides the misalignment, maybe it is better to add |
I think two lines is still an okay display. There is -webkit-line-clap which all major browsers support where we could limit the line number to two and in addition add the ellipsis so it will wrap to two lines and add ellipsis on the end of the second line. |
#22844 (Always go full width in PR view) would not fix this, but would reduce the likelihood of it happening. |
I have no personal interest for backporting into 1.18 at this point as 1.19 isn't too far off. |
Backport #23321 Close #23248 The UI after this PR: https://user-images.githubusercontent.com/17645053/223009758-7f0c9f12-d346-4cb2-a605-729fddce732f.mov Co-authored-by: Hester Gong <hestergong@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Description
For files with long (line-wrapped) filenames, the "Viewed" checkbox is misaligned.
Screenshots
reproduced on try.gitea.io:
Gitea Version
1.18.5
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Windows
Browser Version
Firefox 102.8.0.esr
The text was updated successfully, but these errors were encountered: