-
-
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
Improve project/milestone list #24655
Conversation
@@ -38,7 +38,11 @@ | |||
<div class="milestone list"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's a blatant copy as seen here. Possible to fix these to projects
? CSS may need adjustment.
After #24476 , the svg icons should be display:inline-block + vertical-align:middle , by default. |
I recall this is not a general solution and may still cause misalignment depending on icon size, text size and line height. There simply seems to be no universal way to vertically center a SVG with text in 100% of cases. |
Do the best to use the same icon side as the font size everywhere. That's why font-awesome could win in such case. |
29bb12f
to
6192b9f
Compare
6192b9f
to
af99b5f
Compare
I fixed this by use |
It looks still somewhat broken, the issue icon is noticeable smaller than the calendar icon. Should check how issue list renders its icons, we don't have such issues there I suppose. I will check it later and likely push some fixes. |
It seems that this is fixed in #25315 |
Project list
Before:
After:
Milestone List
Before:
After:
ps: It seems that
project list
is a copy ofmilestone list
, and we have made some changes tomilestone list
.Then we need to sync the changes to
project list
.