Skip to content

feat: improve Default story with dynamic orientation-based width#19

Merged
garrity-miepub merged 1 commit into
mainfrom
feature/card-updates-fix
Jan 28, 2026
Merged

feat: improve Default story with dynamic orientation-based width#19
garrity-miepub merged 1 commit into
mainfrom
feature/card-updates-fix

Conversation

@garrity-miepub

Copy link
Copy Markdown
Collaborator
  • Update Default story to use render function with meaningful content
  • Add CardHeader, CardTitle, CardDescription, CardContent, CardFooter
  • Set orientation: 'vertical' as default in args so control works
  • Make container width dynamic (500px horizontal, 350px vertical)
  • Add gap-2 to CardFooter for proper button spacing

The orientation control was not working because the Default story only had plain text children. Changed to include proper Card subcomponents so switching between vertical/horizontal actually shows a visible layout change in the preview.

image

@garrity-miepub garrity-miepub marked this pull request as ready for review January 28, 2026 03:07
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: bf7cd30
Status: ✅  Deploy successful!
Preview URL: https://5c5864f8.ui-6d0.pages.dev
Branch Preview URL: https://feature-card-updates-fix.ui-6d0.pages.dev

View logs

@garrity-miepub garrity-miepub merged commit a19fac9 into main Jan 28, 2026
4 of 7 checks passed
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.

1 participant