-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-73187] - Do not apply icon size to text badges (#153)
* [JENKINS-73187] - Do not apply icon size to text badges https://issues.jenkins.io/browse/JENKINS-73187 describes the mistake that I made when setting the icon class to always include "icon-sm". Short text badges do not need to be limited by that class because it causes the text field to be too small for any text to fit. Fixes #152 as well. Include a test for the icon class of short text. * Replace assets.css with 1.9.1 compatible styling The CSS file makes the short text badge better looking but also makes it use much more space. Better to switch back to the previous layout rather than disrupt existing users with a larger layout. * Use when/otherwise instead of if a / if !a in jelly file Makes it clear where the conditional is being applied. --------- Co-authored-by: strangelookingnerd <[email protected]>
- Loading branch information
1 parent
09368e2
commit db43b1b
Showing
4 changed files
with
32 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters