From 7223890edc5b5b3f9d75163eac7934d6d725e304 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 15 Mar 2022 13:28:35 +0000 Subject: [PATCH] Add percentage symbol --- core/src/main/resources/lib/hudson/buildHealth.jelly | 4 +++- war/src/main/less/modules/table.less | 6 ++++++ war/src/main/resources/images/symbols/percentage.svg | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 war/src/main/resources/images/symbols/percentage.svg diff --git a/core/src/main/resources/lib/hudson/buildHealth.jelly b/core/src/main/resources/lib/hudson/buildHealth.jelly index b1ce3b5f285c..7a0147f8c2a3 100644 --- a/core/src/main/resources/lib/hudson/buildHealth.jelly +++ b/core/src/main/resources/lib/hudson/buildHealth.jelly @@ -46,7 +46,9 @@ THE SOFTWARE. W ${%Description} - % + + + diff --git a/war/src/main/less/modules/table.less b/war/src/main/less/modules/table.less index 08b11a22a05e..aad0703565cf 100644 --- a/war/src/main/less/modules/table.less +++ b/war/src/main/less/modules/table.less @@ -45,6 +45,12 @@ color: var(--table-header-foreground); font-weight: 700; } + + svg { + vertical-align: middle; + width: 0.8rem; + height: 0.8rem; + } } } } diff --git a/war/src/main/resources/images/symbols/percentage.svg b/war/src/main/resources/images/symbols/percentage.svg new file mode 100644 index 000000000000..3c129fa4e3ce --- /dev/null +++ b/war/src/main/resources/images/symbols/percentage.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file