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: 15327-incorrect-padding-sizes #15551

Conversation

riddhybansal
Copy link
Contributor

@riddhybansal riddhybansal commented Jan 17, 2024

Closes #15327

There were inconsistent padding in data tables.

Changelog

Changed

  • Changed some styles

Testing / Reviewing

The guidance from figma designs states that the expandable panel needs 16px padding-top and 24px padding-bottom and this should be consistent in all sizes.

Copy link

netlify bot commented Jan 17, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit e4cf9fe
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/65a7d8a603c74500089a946d
😎 Deploy Preview https://deploy-preview-15551--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.

Comment on lines +104 to +105
padding-block: 1rem;
padding-block-end: 1.5rem;
Copy link
Member

Choose a reason for hiding this comment

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

We can just combine these in the padding-block definition 👍🏻

Suggested change
padding-block: 1rem;
padding-block-end: 1.5rem;
padding-block: 1rem 1.5rem;

Copy link
Contributor

Choose a reason for hiding this comment

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

@riddhybansal You can commit the suggestion directly in the "Commit suggestion" or push a new commit to address the changes TJ posted it

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Small nit, but otherwise looks great!

Copy link
Contributor

@guidari guidari left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@riddhybansal riddhybansal added this pull request to the merge queue Feb 6, 2024
Merged via the queue into carbon-design-system:main with commit 9479afd Feb 6, 2024
20 checks passed
@riddhybansal riddhybansal deleted the 15327-incorrect-expandable-padding branch February 6, 2024 13:18
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.

[Data table] Incorrect Expandable panel padding sizes 🐛
3 participants