Skip to content

fix(PageCard/PageCTA/PageSection): handle reverse prop under lg screens - #5545

Merged
benjamincanac merged 6 commits into
nuxt:v4from
mikenewbon:reverse-card
Dec 10, 2025
Merged

benjamincanac merged 6 commits into
nuxt:v4from
mikenewbon:reverse-card

Conversation

@mikenewbon

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Resolves #5541

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

lg:order-last on reverse theme change to order-last to have consistent behavior across sizes.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions Bot added the v4 #4488 label Nov 27, 2025
@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2025 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@nuxt/ui@5545

commit: fa9fe82

@benjamincanac

Copy link
Copy Markdown
Member

I guess we have the same issue in page-cta.ts and page-section.ts. I can't remember why I did this 🤔

@mikenewbon

Copy link
Copy Markdown
Contributor Author

My own feeling playing with the docs preview build is that it now matches the behaviour I would expect, if you like I can also fix page-cta and page-section in this pr!

@mikenewbon

Copy link
Copy Markdown
Contributor Author

@benjamincanac - done, sorry for the delay, busy first week.

@benjamincanac benjamincanac changed the title fix(PageCard): reverse prop not applying for < lg fix(PageCard/PageCTA/PageSection): handle reverse prop under lg screens Dec 10, 2025
@benjamincanac

Copy link
Copy Markdown
Member

Thanks @mikenewbon! Hope the new job is going well 😊

@benjamincanac
benjamincanac merged commit 60b430c into nuxt:v4 Dec 10, 2025

This branch was successfully deployed

1 active deployment
Preview – ui — fa9fe82b Deployed Dec 5, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Page Card 'Reverse' prop doesn't work responsively

2 participants