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 grid resize striped area length with per-axis gap #6563

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Oct 17, 2024

Problem:

When changing the grid gap via the canvas the row/column specific gap is set (or using the split gap in the inspector), but it's not taken into account when calculating the striped area length for grid resize.

Fix:

Take the rowGap / columnGap props into account when calculating the striped area length in addition to the gap shorthand.

Fixes #6562

Copy link
Contributor

github-actions bot commented Oct 17, 2024

Try me

Copy link

relativeci bot commented Oct 17, 2024

#14858 Bundle Size — 57.98MiB (~+0.01%).

66d6de4(current) vs 916e8b9 master#14854(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#14858
     Baseline
#14854
Regression  Initial JS 40.96MiB(~+0.01%) 40.96MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 18.04% 17.88%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4153 4153
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.33% 27.33%
No change  Packages 477 477
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#14858
     Baseline
#14854
Regression  JS 57.97MiB (~+0.01%) 57.97MiB
Improvement  HTML 7.37KiB (-0.25%) 7.39KiB

Bundle analysis reportBranch fix/grid-striped-area-axis-gapProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit b27dfa8 into master Oct 18, 2024
16 checks passed
@ruggi ruggi deleted the fix/grid-striped-area-axis-gap branch October 18, 2024 09:55
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

When changing the grid gap via the canvas the row/column specific gap is
set (or using the split gap in the inspector), but it's not taken into
account when calculating the striped area length for grid resize.

**Fix:**

Take the `rowGap` / `columnGap` props into account when calculating the
striped area length in addition to the `gap` shorthand.

Fixes #6562
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.

Fix striped area size when changing grid gap per row/column
3 participants