-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Improve labels-list
rendering
#34846
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
Conversation
The larger gap seems more conformable Should we enlarge the gap in |
Could go to 3px, maybe 4px. GitHub uses 4px. |
Or just 0.25em like other inline gaps. (0.25em seems to be 4px) |
I guess I may change it to only set |
This comment was marked as outdated.
This comment was marked as outdated.
I'm not satisfied yet, hold on with merging. |
Let's merge? |
Not yet, will do one hopefully final round of review. |
Then 4adf1e3, more changes, more complicated, and no unnecessary "a" wrapper now. If it doesn't look good, feel free to revert |
This change isn't complete, it only affects the labels in the issue history, not the ones in sidebar or issue list. I think we should make all places use the same rendering code or sub-template. |
Yes, I know. I intentionally didn't touch unrelated code, the commit only added basic "label with link" support, but didn't rewrite everything (otherwise there will be far more changes). Other changes can be left to the future. If you don't like, just revert. I can accept either:
But not introduce more changes in this PR |
Yeah lets fix the remaining issues and then merge this. Fully |
@wxiaoguang care to fix these EXTRAs? |
Already fixed in eb2a642 , and added some more tests in 43e7745 |
c8b778a
to
0f1ea9a
Compare
The issue sidebar was using a different gap between labels then other places in the UI. Remove the tailwind class to make this rule take effect:
Before:

After:
