Skip to content

chore: use background longhands in wrap to preserve image in ssr#389

Merged
Kikobeats merged 1 commit into
microlinkhq:masterfrom
Josebaseba:fix-image-wrap
May 21, 2026
Merged

chore: use background longhands in wrap to preserve image in ssr#389
Kikobeats merged 1 commit into
microlinkhq:masterfrom
Josebaseba:fix-image-wrap

Conversation

@Josebaseba

Copy link
Copy Markdown
Contributor

The background: shorthand on StyledWrap resets background-image, so when SSR class order flips (parent rule emitted after the child ImageWrap rule), the card image disappears in production while still working in dev.

Swap the shorthand for background-color/repeat/position/size longhands so ImageWrap's background-image survives regardless of CSS source order.

@vercel

vercel Bot commented May 20, 2026

Copy link
Copy Markdown

@Josebaseba is attempting to deploy a commit to the Microlink Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sdk-hover-react Error Error May 21, 2026 2:43pm
sdk-hover-vanilla Error Error May 21, 2026 2:43pm
sdk-react Ready Ready Preview, Comment May 21, 2026 2:43pm
sdk-vanilla Error Error May 21, 2026 2:43pm

Request Review

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.

2 participants