From 454f9a13cbd2ccabce70ffa2dd5fef2a4d8ea686 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 3 Jun 2024 10:54:01 +0300 Subject: [PATCH] fix: numbers are misaligned in pivot table (DHIS2-16900) (#1668) --- src/components/PivotTable/styles/PivotTable.style.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/PivotTable/styles/PivotTable.style.js b/src/components/PivotTable/styles/PivotTable.style.js index 00bf7c6a6..88c817042 100644 --- a/src/components/PivotTable/styles/PivotTable.style.js +++ b/src/components/PivotTable/styles/PivotTable.style.js @@ -143,11 +143,17 @@ export const cell = css` } .value { background-color: #ffffff; - } - .TEXT { text-align: left; } - .NUMBER { + .NUMBER, + .INTEGER, + .INTEGER_POSITIVE, + .INTEGER_NEGATIVE, + .INTEGER_ZERO_OR_POSITIVE, + .UNIT_INTERVAL, + .PERCENTAGE, + .BOOLEAN, + .TRUE_ONLY { text-align: right; } .clickable {