Grid.Column spans full width by default when using responsive API - #258
Merged
Conversation
🦋 Changeset detectedLatest commit: 37e02e9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
🔍 Design token changes foundView CSS variable changes- --grid-column-bgColor-overlay: hsl(var(--base-color-scale-red-4-hsl) / 30%);
+ --brand-Grid-column-bgColor-overlay: hsl(var(--base-color-scale-red-4-hsl) / 30%);- --grid-column-bgColor-overlay: hsl(var(--base-color-scale-pink-2-hsl) / 30%);
+ --brand-Grid-column-bgColor-overlay: hsl(var(--base-color-scale-pink-2-hsl) / 30%);- --grid-column-bgColor-overlay: hsl(var(--base-color-scale-red-4-hsl) / 30%);
+ --brand-Grid-column-bgColor-overlay: hsl(var(--base-color-scale-red-4-hsl) / 30%);- --grid-spacing-margin: var(--base-size-16);
+ --brand-Grid-spacing-margin: var(--base-size-16);- --grid-spacing-column-gap: var(--base-size-16);
+ --brand-Grid-spacing-column-gap: var(--base-size-16);- --grid-spacing-row: var(--base-size-16);
+ --brand-Grid-spacing-row: var(--base-size-16);- --grid-spacing-margin: var(--base-size-40);
+ --brand-Grid-spacing-margin: var(--base-size-40);- --grid-spacing-column-gap: var(--base-size-32);
+ --brand-Grid-spacing-column-gap: var(--base-size-32);- --grid-spacing-row: var(--base-size-24);
+ --brand-Grid-spacing-row: var(--base-size-24);- --grid-spacing-margin: var(--base-size-16);
+ --brand-Grid-spacing-margin: var(--base-size-16);- --grid-spacing-column-gap: var(--base-size-48);
+ --brand-Grid-spacing-column-gap: var(--base-size-48); |
Contributor
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
josepmartins
approved these changes
May 2, 2023
…d into rezrah/grid-min-colums
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a bug where the default grid column does not span full width in responsive mode.
Now you can do this:
which will force columns to span all 12 columns by default, and only split in 50:50 at large breakpoints.
Screen.Recording.2023-04-27.at.15.22.36.mov
Steps to test:
Contributor checklist:
Reviewer checklist: