Skip to content

fix(core): use tailwind aspect-ratio plugin#2387

Merged
chanceaclark merged 1 commit into
canaryfrom
fix/aspect-ratio-1
Jun 9, 2025
Merged

fix(core): use tailwind aspect-ratio plugin#2387
chanceaclark merged 1 commit into
canaryfrom
fix/aspect-ratio-1

Conversation

@chanceaclark

Copy link
Copy Markdown
Contributor

What/Why?

Utilizes the tailwind plugin to support aspect ratios in older browsers like Safari 14.

Testing

Screenshot 2025-06-06 at 15 47 30

Migration

All the old arbitrary classes will need to define the height and width classes:

// before
.aspect-[4/5]

//after
.aspect-w-4 .aspect-h-5

@chanceaclark
chanceaclark requested a review from a team June 6, 2025 22:30
@changeset-bot

changeset-bot Bot commented Jun 6, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 30b74ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Patch

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

@vercel

vercel Bot commented Jun 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-canary ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2025 4:00pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Jun 9, 2025 4:00pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2025 4:00pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2025 4:00pm

Comment thread core/vibes/soul/sections/blog-post-content/index.tsx Outdated

@hunterbecton hunterbecton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I just had one quick comment to fix. Thank you!

@chanceaclark
chanceaclark enabled auto-merge June 9, 2025 15:59
@chanceaclark
chanceaclark added this pull request to the merge queue Jun 9, 2025
Merged via the queue into canary with commit 96c5182 Jun 9, 2025
9 checks passed
@chanceaclark
chanceaclark deleted the fix/aspect-ratio-1 branch June 9, 2025 16:03
chanceaclark added a commit that referenced this pull request Jun 10, 2025
chanceaclark added a commit that referenced this pull request Jun 10, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Jun 11, 2025
* Revert "fix(core): use tailwind aspect-ratio plugin (#2387)"

This reverts commit 96c5182.

* feat: drop CSS support for Safari < 15
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