Skip to content

Commit b1497c7

Browse files
authored
[DataTable] Fix table row border bottom (#4975)
* [DataTable] Fix table row border bottom The color was darker and inconsistent with the way other table headers are displayed. * Update UNRELEASED.md
1 parent 9dbd760 commit b1497c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

UNRELEASED.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t
1818
- Fixed `segmented` `ButtonGroup` misaligning icon only buttons when grouped with text only buttons ([#4079](https://github.com/Shopify/polaris-react/issues/4079))
1919
- Added missing styles for `destructive` `Page` `secondaryActions` ([#4647](https://github.com/Shopify/polaris-react/pull/4647))
2020
- Removed `min-height` from `Page` `additionalNavigation` ([#4952](https://github.com/Shopify/polaris-react/pull/4952))
21+
- Fixed overly dark `bottom-border` on `DataTable` header cell and total cell. ([#4975])(https://github.com/Shopify/polaris-react/pull/4975)
2122

2223
### Documentation
2324

src/components/DataTable/DataTable.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $breakpoint: 768px;
9292

9393
.Cell-header {
9494
@include text-emphasis-normal;
95-
border-bottom: border(dark);
95+
border-bottom: border('divider');
9696
border-top: 0;
9797
}
9898

@@ -165,7 +165,7 @@ $breakpoint: 768px;
165165
.Cell-total {
166166
@include text-emphasis-strong;
167167
background: var(--p-surface-subdued);
168-
border-bottom: border();
168+
border-bottom: border('divider');
169169
}
170170

171171
.Cell-total-footer {

0 commit comments

Comments
 (0)