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

Flex wrap control and tailwind #6666

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Flex wrap control and tailwind #6666

merged 3 commits into from
Nov 25, 2024

Conversation

gbalint
Copy link
Contributor

@gbalint gbalint commented Nov 20, 2024

Problem:
Setting flex wrap doesn't work with tailwind projects.

Fix:
I added flexWrap to StyleInfo and to the inline style and tailwind plugins. After the flex wrap control in the inspector works.

Note:
This PR depends on #6668 , without that you can't set a flex-wrap property on elements which do not have it set yet.

Manual Tests:
I hereby swear that:

  • I opened a hydrogen project and it loaded
  • I could navigate to various routes in Play mode

Copy link
Contributor

github-actions bot commented Nov 20, 2024

Try me

Copy link

relativeci bot commented Nov 20, 2024

#15271 Bundle Size — 58.11MiB (~+0.01%).

eacef4e(current) vs d1d46c1 master#15258(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#15271
     Baseline
#15258
Regression  Initial JS 41.09MiB(~+0.01%) 41.08MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 18.17% 18.05%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4173 4173
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.28% 27.28%
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
#15271
     Baseline
#15258
Regression  JS 58.1MiB (~+0.01%) 58.1MiB
Improvement  HTML 7.37KiB (-0.25%) 7.39KiB

Bundle analysis reportBranch feature/tailwind-flex-wrapProject dashboard


Generated by RelativeCIDocumentationReport issue

@gbalint gbalint marked this pull request as ready for review November 21, 2024 10:48
@gbalint gbalint merged commit 7283a1d into master Nov 25, 2024
13 checks passed
@gbalint gbalint deleted the feature/tailwind-flex-wrap branch November 25, 2024 13:38
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**
Setting flex wrap doesn't work with tailwind projects.

**Fix:**
I added flexWrap to StyleInfo and to the inline style and tailwind
plugins. After the flex wrap control in the inspector works.

**Note:**
This PR depends on #6668 ,
without that you can't set a flex-wrap property on elements which do not
have it set yet.

**Manual Tests:**
I hereby swear that:

- [x] I opened a hydrogen project and it loaded
- [x] I could navigate to various routes in Play mode
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.

3 participants