-
Notifications
You must be signed in to change notification settings - Fork 72
[terra-table] Table section header fix #1918
Conversation
|
||
&.last-pinned-column { | ||
border-right: var(--terra-table-last-pinned-header-border-right, 2px solid #808080); | ||
box-shadow: var(--terra-table-last-pinned-header-box-shadow, 2px -1px 6px #808080); |
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.
Are we sure we don't want the box shadow over all the pinned columns? I'm looking at the snapshot results in this PR and it's much harder to tell where the pinned columns start and end now. Looking at the number of snaps that are being changed this is actually quite a big change.
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.
This change was specified by @eawww after consulting with additional UX associates.
--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d; | ||
// Pinned Columns Divider | ||
--terra-table-last-pinned-header-border-right: 2px solid #181b1d; | ||
--terra-table-last-pinned-header-box-shadow: 2px -1px 6px #181b1d; |
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.
Same concern here as was in the main column header cell file: I'm seeing a lot of the box shadows removed from the divider.
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.
This change was specified by @eawww after consulting with additional UX associates.
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
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.
Summary
What was changed:
The Terra Table was updated so that the section headers would not scroll off the screen. The implementation of the pinned column divider was updated so that it would not overlay the section headers.
Why it was changed:
The change was made so that the section header title would always be visible to users.
Testing
This change was tested using:
Reviews
In addition to engineering reviews, this PR needs:
Additional Details
N/A
This PR resolves:
UXPLATFORM-9898
Thank you for contributing to Terra.
@cerner/terra