Skip to content

Commit

Permalink
Fix formatting of cells totals.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbouman committed Dec 3, 2024
1 parent 30c0c8e commit a428f1c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/PivotTableUi/PivotTableUi.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,21 @@
text-align: right;
}

.pivotTableUiCell[data-value-type^=Decimal][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^=Float][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^=Int][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^="List<Decimal>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^="List<Float>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^="List<Int>"][data-totals=true] > .pivotTableUiCellLabel {
.pivotTableUiCell[data-axis=rows][data-value-type^=Decimal][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^=Decimal][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^=Float][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^=Float][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^=Int][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^=Int][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Decimal>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Decimal>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Float>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Float>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Int>"][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-axis=columns][data-value-type^="List<Int>"][data-totals=true] > .pivotTableUiCellLabel {
font-family: unset
}

.pivotTableUiCell[data-value-type^=Decimal][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^=Float][data-totals=true] > .pivotTableUiCellLabel,
.pivotTableUiCell[data-value-type^=Int][data-totals=true] > .pivotTableUiCellLabel {
text-align: unset;
}
}


Expand Down

0 comments on commit a428f1c

Please sign in to comment.