-
Notifications
You must be signed in to change notification settings - Fork 160
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
@@ -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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.