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(styles): update border-block-end to use $border-subtle-01 #17548

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

Conversation

ziyadzulfikar
Copy link

Closes #17454

Updated the border-block-end of each element in the table rows.

Changelog

Changed

  • Changed border-block-end: 1px solid $border-subtle; to border-block-end: 1px solid $border-subtle-01;

Testing / Reviewing

  • Navigate to the DataTable component's playground story.

  • Review the styling of the <td> elements in the table rows that use the border-block-end property, and ensure the values are applied correctly and consistently.

Copy link
Contributor

github-actions bot commented Sep 22, 2024

All contributors have signed the DCO.
Posted by the DCO Assistant Lite bot.

Copy link

netlify bot commented Sep 22, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 4818d88
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66f2ec3f6eb7a80008ce32a9
😎 Deploy Preview https://deploy-preview-17548--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 22, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4818d88
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66f2ec3f2d675e0008cf9c32
😎 Deploy Preview https://deploy-preview-17548--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ziyadzulfikar
Copy link
Author

I have read the DCO document and I hereby sign the DCO.

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Thanks for this! There is one small piece still needed though, see below

@@ -205,7 +205,7 @@

.#{$prefix}--data-table td,
.#{$prefix}--data-table tbody th {
border-block-end: 1px solid $border-subtle;
border-block-end: 1px solid $border-subtle-01;
Copy link
Member

Choose a reason for hiding this comment

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

Similar to this PR, additional selectors/styles are needed to ensure the token is updated appropriately. .#{$prefix}--layer-two, .#{$prefix}--layer-three, etc.

Copy link
Member

@tay1orjones tay1orjones Sep 23, 2024

Choose a reason for hiding this comment

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

Without this update the cells will not respond at all to being placed on another layer and will be "locked" to the layer 01 style. There's a bit more detail about this on the website

Copy link
Author

Choose a reason for hiding this comment

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

@tay1orjones I have updated the changes according to your suggestion.

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.

[Bug]: Data table border-subtle is off by a layer
2 participants