Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove table round corner under header #529

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

YueyingLu
Copy link
Member

Description

Table rounded corner causes gap between header. The fix is to remove the border-radius when header exists.

Related links, issue AWSUI-19854

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Nov 25, 2022

Codecov Report

Base: 92.59% // Head: 92.59% // No change to project coverage 👍

Coverage data is based on head (489a644) compared to base (4bb4f3a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #529   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files         568      568           
  Lines       16163    16163           
  Branches     4425     4425           
=======================================
  Hits        14966    14966           
  Misses       1116     1116           
  Partials       81       81           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@YueyingLu YueyingLu marked this pull request as ready for review November 25, 2022 15:29
@YueyingLu YueyingLu requested a review from a team as a code owner November 25, 2022 15:29
@YueyingLu YueyingLu requested review from abdhalees and removed request for a team November 25, 2022 15:29
Copy link
Member

@abdhalees abdhalees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update the commit message and PR title to something that describes what the code does? e.g. fix: Remove round corner from embedded table header

@@ -79,6 +77,10 @@
&.has-footer {
padding-bottom: 0px;
}
&:not(.has-header) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the issue says it only happens in embedded tables, why do we need to remove the border from every table?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It actually happens to not only embedded. But in general, when there is already a header. For example container:
Screenshot 2022-11-28 at 11 14 54

@YueyingLu YueyingLu changed the title fix: Table round corner causes a gap between header fix: Remove table round corner under header Nov 28, 2022
@YueyingLu YueyingLu requested a review from abdhalees November 28, 2022 10:23
@YueyingLu YueyingLu merged commit 1801e4e into main Nov 28, 2022
@YueyingLu YueyingLu deleted the fix-table-round-cornor-between-header branch November 28, 2022 17:39
@timogasda
Copy link
Member

This fixes #503.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants