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

Merged
merged 4 commits into from
Sep 3, 2024

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!

Name Link
🔨 Latest commit faa7467
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66d747094fe90500085a6be4
😎 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.

@tay1orjones
Copy link
Member

LGTM, once there's two approvals we should remove the test stories before merging

Copy link

netlify bot commented Aug 31, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit faa7467
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66d7470989341f000743a9f0
😎 Deploy Preview https://deploy-preview-16479--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.

@kennylam kennylam closed this Aug 31, 2024
@kennylam kennylam reopened this Aug 31, 2024
@alisonjoseph alisonjoseph added this pull request to the merge queue Sep 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2024
@alisonjoseph alisonjoseph added this pull request to the merge queue Sep 3, 2024
Merged via the queue into carbon-design-system:main with commit 3fcf739 Sep 3, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants