Skip to content

Commit

Permalink
fix: Remove table round corner under header (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
YueyingLu authored and taheramr committed Dec 1, 2022
1 parent ee62932 commit c483bae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/table/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
padding-top: awsui.$space-table-content-top;
padding-bottom: awsui.$space-table-content-bottom;
overflow-x: auto;
border-top-right-radius: awsui.$border-radius-container;
border-top-left-radius: awsui.$border-radius-container;
&.variant-stacked,
&.variant-container {
& > .table {
Expand All @@ -79,6 +77,10 @@
&.has-footer {
padding-bottom: 0px;
}
&:not(.has-header) {
border-top-right-radius: awsui.$border-radius-container;
border-top-left-radius: awsui.$border-radius-container;
}

@include focus-visible.when-visible {
@include styles.container-focus();
Expand Down

0 comments on commit c483bae

Please sign in to comment.