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: allow grid offset and start reset #16479

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lee-chase
Copy link
Member

Column offset cannot currently be reset for larger breakpoints.

When using the <Colunn> component with an offset and a breakpoint it impacts on larger sizes. This PR allows the grid-column-start to be reset.

Added examples to the Storybook. Without the change the second column in grid-start-end-some-breakpoints and grid-offset-some-breakpoints wraps on to the second row at large sizes.

image

With the change it is not
image

Changelog

Changed

  • packages/react/src/components/Column.tsx

Testing / Reviewing

Reviewed in storybook

@lee-chase lee-chase requested a review from a team as a code owner May 16, 2024 12:45
Copy link

netlify bot commented May 16, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 96873f5
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6645ffeab386980007becd76
😎 Deploy Preview https://deploy-preview-16479--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.

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.

None yet

1 participant