Skip to content

Commit

Permalink
fix(DataTable): fix for expansion sticky header
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Aug 4, 2020
1 parent 0b04c88 commit 3c77462
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,9 @@
min-height: 3rem;
}

.#{$prefix}--parent-row td {
padding: 1rem;
}
// .#{$prefix}--parent-row td {
// padding: 1rem;
// }

&:not(.#{$prefix}--data-table--compact):not(.#{$prefix}--data-table--tall):not(.#{$prefix}--data-table--short)
td:not(.#{$prefix}--table-column-menu):not(.#{$prefix}--table-column-checkbox) {
Expand Down Expand Up @@ -610,7 +610,7 @@
}

th:empty {
max-width: rem(48px);
max-width: 2.25rem;
}

td.#{$prefix}--table-column-menu {
Expand Down Expand Up @@ -664,6 +664,15 @@
min-height: rem(64px);
}

// Expansion overrides
&.#{$prefix}--data-table--compact tr td.#{$prefix}--table-expand {
padding-top: rem(4px);
}

&.#{$prefix}--data-table--short tr td.#{$prefix}--table-expand {
padding-top: rem(8px);
}

.#{$prefix}--table-header-label {
@include text-overflow;

Expand Down

0 comments on commit 3c77462

Please sign in to comment.