-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
[JENKINS-66749] Missing spaces in upstream/downstream project view #5850
Conversation
I add 5px space between icon and project name
And what Jenkins version are you using? |
Can you put the icon and breakable on the same line and then put a space in between them? |
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.
The link also needed a margin, based on the fix in #5507 (I've pushed a commit to get this over the line)
I also created a css class for it, not the best naming but wasn't sure what do call it.
Tested this and it works
This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
I think a similar fix is required for Additionally, the icon seems to render not correctly aligned vertically. Any idea what needs to be fixed in the CSS here? The first pixel seems to be aligned with the top of the text, it would look better if it is vertically centered? |
Will try take a look later on |
I played around a little bit and it actually seems that our vertical alignment is broken somehow for the build status. Even on the same page I get different offsets for the alignment of text and SVG icon: Here the icon for the Java and Error Prone warnings are 4 pixels above the text. For the same icon for the Checkstyle and SpotBugs summary the icon starts just 1 pixel above the text. I have no idea what causes this misalignment? (Sorry this is unrelated to this PR, simply an observation while trying to use the icon in my |
Hmm, this is not yet solved? I think this problem occurs in several (all?) places where we use the icon. |
Haven't had a chance, but this fixes this specific instance no reason to hold it back, we can iterate on improvements |
Followup to jenkinsci#5850. Fixes the missing gaps in jenkinsci/warnings-ng-plugin#1092.
Followup to jenkinsci#5850. Fixes the missing gaps in jenkinsci/warnings-ng-plugin#1092.
Ok, this just needs additional and duplicate work, I created a followup: #5887. |
Thanks for sorting it |
Missing spaces in upstream/downstream project view
See JENKINS-66749.
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).