Skip to content

Commit

Permalink
fix(pivot-table): set padding on hoverable div instead of container th
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Sep 25, 2023
1 parent b020edd commit adba099
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/components/PivotTable/styles/PivotTable.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,23 @@ export const cell = css`
.title-cell {
font-weight: bold;
background-color: #cddaed;
padding: 0;
}
.title-cell-content {
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.title-cell.displaydensity-COMPACT > .title-cell-content {
padding: ${DISPLAY_DENSITY_PADDING_COMPACT}px;
}
.title-cell.displaydensity-NORMAL > .title-cell-content {
padding: ${DISPLAY_DENSITY_PADDING_NORMAL}px;
}
.title-cell.displaydensity-COMFORTABLE > .title-cell-content {
padding: ${DISPLAY_DENSITY_PADDING_COMFORTABLE}px;
}
.row-header {
background-color: #dae6f8;
}
Expand Down

0 comments on commit adba099

Please sign in to comment.