Repository navigation
refactor(mosaic): set card alignment on Card.Root and move the sign-in identifier into the header - #10612
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 818d7c6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
8025735
into
kylemac/list-mosaic-sign-in-flows


Description
Stacked on #10339.
alignmoves fromCard.HeadertoCard.Root.Card.Headerreads it fromCardContext, so<Card.Root align='center'>centers every header in the card, including headers from the reverification steps that sign-in reuses.data-alignmoves from.cl-card-headerto.cl-card-root, andCardHeaderAlign/CardHeaderPropsare replaced byCardAlign.<Card.Root align='center'>.Card.Contentinto a secondCard.Descriptionin the header.text-alignand lets its children take the card's width, andCard.Mediacenters itself. Content that doesn't wrap, like a long identifier, now truncates inside the card instead of overflowing it.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change