Skip to content

Commit

Permalink
Add percentage symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Mar 15, 2022
1 parent 133c486 commit 7223890
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/resources/lib/hudson/buildHealth.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ THE SOFTWARE.
<tr>
<th align="left">W</th>
<th align="left">${%Description}</th>
<th align="right">%</th>
<th align="right">
<l:icon src="symbol-percentage" alt="${%Percentage}" />
</th>
</tr>
</thead>
<tbody>
Expand Down
6 changes: 6 additions & 0 deletions war/src/main/less/modules/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
color: var(--table-header-foreground);
font-weight: 700;
}

svg {
vertical-align: middle;
width: 0.8rem;
height: 0.8rem;
}
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions war/src/main/resources/images/symbols/percentage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7223890

Please sign in to comment.