Skip to content

Commit

Permalink
fix: numbers are misaligned in pivot table (DHIS2-16900) (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott authored Jun 4, 2024
1 parent 9ab97a0 commit 7fc5321
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/PivotTable/styles/PivotTable.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,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 {
Expand Down

0 comments on commit 7fc5321

Please sign in to comment.