-
Notifications
You must be signed in to change notification settings - Fork 194
USWDS-Site - Changelog: add entry and doc updates for sticky table headers [USWDS#5420] #2229
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
Conversation
…nto al-documentation-5420
package.json
Outdated
@@ -101,6 +101,6 @@ | |||
"snyk": true, | |||
"dependencies": { | |||
"@uswds/compile": "^1.0.0-beta.3", | |||
"@uswds/uswds": "^3.5.0" | |||
"@uswds/uswds": "github:uswds/uswds#al-sticky-table-header" |
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.
Warning
We should revert this branch before merge
- Accidentally pulled in to this PR
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.
Hey Amy! I noticed a visual bug when looking at the component preview. More detail in comments below.
I think we should also add usage guidance about not using it with the stacked or scrollable variants to the usability section. We have similar guidance on when not to use sortable tables
Let me know what you think!
- This accommodates the height of the sticky header
…cumentation-5420
…cumentation-5420
…nto al-documentation-5420
…nto al-documentation-5420
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.
Lgtm!
…nto al-documentation-5420
Summary
PR #5420 introduced sticky table headers as a new variant for USWDS tables. This PR adds documentation for the new variant.
Important
This branch will have build failures until uswds is updated to include the changes in 3.8.0 (particularly, uswds/uswds#5420).
New variant
.usa-table--sticky-header
New settings
$theme-table-background-color
default
uses the body background color.$theme-table-sticky-top-offset
Preview link
Testing and review