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 background color from borderless table header #3162

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

cansuaa
Copy link
Contributor

@cansuaa cansuaa commented Dec 31, 2024

Description

Removed background color from borderless table header

Related links, issue #, if available: AWSUI-60188

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.

@cansuaa cansuaa requested a review from a team as a code owner December 31, 2024 14:01
@cansuaa cansuaa requested review from taheramr and removed request for a team December 31, 2024 14:01
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.40%. Comparing base (1c32dd6) to head (1ae302f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3162   +/-   ##
=======================================
  Coverage   96.40%   96.40%           
=======================================
  Files         784      784           
  Lines       22143    22143           
  Branches     7604     7536   -68     
=======================================
  Hits        21348    21348           
  Misses        743      743           
  Partials       52       52           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -75,6 +75,9 @@ $cell-horizontal-padding: awsui.$space-scaled-l;
&-variant-full-page.header-cell-hidden {
border-block-end-color: transparent;
}
&-variant-borderless {
background: none;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering why we used background: none here and the background-color: transparent above. Are we expecting any "non-color" backgrounds?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The only reason is that above the background color is set using background-color and similarly here using background so setting background-color where background is used doesn't remove the color.

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.

2 participants