-
Notifications
You must be signed in to change notification settings - Fork 41
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
Hard-code size of icons (#148) #158
Conversation
may you pls paste before / after screenshots here. Just for easy verifying. Thx |
The border was solid in the 1.9.1 release so it was set to solid in order to retain compatibility with past behavior. I believe the border can be set to |
Using Not sure what is to be considered "compatibility" here if I'm honest. |
c581266
to
a9926c3
Compare
@MarkEWaite I reverted the change and kept the border by default. Still feel it does not look good but for the sake of compatibility I must agree with you. |
I agree that the look in 1.10 was much more attractive than the look in the other releases, but I'd rather restore compatibility first and then improve the appearance. |
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.
Looks good to me. Thanks!
Well, with 1.9.1 and the discussion at https://issues.jenkins.io/browse/JENKINS-73167 my borders were also rounded and thin, as far as I can remember. Although upon later investigation, we had not only Badge but also Groovy PostBuild plugin (which builds upon it) so maybe the additional style came from there. |
Fixes #148 by hard-coding the icon style to include
width: 16px; height: 16px;
I also removed the no longer existing references to the
badge-shortText
css classes (removed in #153) and therefore the usage ofbadgeClass
alltogether.Further I changed the "default" css style for text badges to not be"border: solid"
anymore - I am pretty sure this was not intended.Testing done
Manually verified badges look as expected.
Submitter checklist