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

feat(card-in-card): add gutter space on mobile #12191

Conversation

Valentin-Sorin-Nicolae
Copy link
Contributor

Related Ticket(s)

Closes # ADCMS-6606

Description

It's difficult to see that cards are clickable rather than just having differently colored background when they display full-width in the TOC layout. Add proper "gutter" space on the left and right sides of cards to suggest that they are clickable cards.

Changelog

New

Added left and right space using padding around the card-in-card component using the $spacing-05 token for mobile screen.

@Valentin-Sorin-Nicolae Valentin-Sorin-Nicolae requested a review from a team as a code owner January 22, 2025 16:25
@Valentin-Sorin-Nicolae Valentin-Sorin-Nicolae requested review from bruno-amorim and marcelojcs and removed request for a team January 22, 2025 16:25
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for incomparable-wisp-8d6771 ready!

Name Link
🔨 Latest commit e5bf37b
🔍 Latest deploy log https://app.netlify.com/sites/incomparable-wisp-8d6771/deploys/67911be2360c7600091dc527
😎 Deploy Preview https://deploy-preview-12191--incomparable-wisp-8d6771.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 Jan 22, 2025

Deploy Preview for ibm-dotcom-web-components-react-wrap ready!

Name Link
🔨 Latest commit e5bf37b
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components-react-wrap/deploys/67911be2b3c35e0008dc5da3
😎 Deploy Preview https://deploy-preview-12191--ibm-dotcom-web-components-react-wrap.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 Jan 22, 2025

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit e5bf37b
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components/deploys/67911be2ebe7f30008517f2f
😎 Deploy Preview https://deploy-preview-12191--ibm-dotcom-web-components.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
Contributor

@bruno-amorim bruno-amorim left a comment

Choose a reason for hiding this comment

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

LGTM! Nice job mate!

@bruno-amorim bruno-amorim changed the base branch from main to feature/gutters January 22, 2025 21:20
@bruno-amorim bruno-amorim added the Ready to merge Label for the pull requests that are ready to merge label Jan 22, 2025
@marcelojcs marcelojcs merged commit 9f781a4 into carbon-design-system:feature/gutters Jan 22, 2025
23 checks passed
@Valentin-Sorin-Nicolae Valentin-Sorin-Nicolae deleted the gutter-space-cardincard branch January 23, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants