Skip to content

Commit 2cd66e2

Browse files
author
JESNA-Jose
committed
fix(data-table): maintain row size hierarchy when content wraps
1 parent f1d6bbf commit 2cd66e2

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

packages/styles/scss/components/data-table/_data-table.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,18 @@
722722
padding-block: convert.to-rem(3px) convert.to-rem(3px);
723723
}
724724

725+
//----------------------------------------------------------------------------
726+
// Large
727+
//----------------------------------------------------------------------------
728+
.#{$prefix}--data-table--lg .#{$prefix}--table-header-label {
729+
padding-block: $spacing-05 $spacing-05;
730+
}
731+
732+
.#{$prefix}--data-table--lg td,
733+
.#{$prefix}--data-table--lg tbody tr th {
734+
padding-block: $spacing-05 $spacing-05;
735+
}
736+
725737
//----------------------------------------------------------------------------
726738
// Extra Large
727739
//----------------------------------------------------------------------------

0 commit comments

Comments
 (0)