Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ebay-icon): added gradient support on server side rendering #2112

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

agliga
Copy link
Contributor

@agliga agliga commented Mar 6, 2024

When rendering ebay-icon on the server, we add the symbol to the html rendering and then that symbol gets stripped and added in the head.
This was not being done for gradient icons and causing an issue when SSR icons.

This change adds a fix to render the gradient portion in the icon and strip it out.

@agliga agliga self-assigned this Mar 6, 2024
Copy link

changeset-bot bot commented Mar 6, 2024

🦋 Changeset detected

Latest commit: 814bcb1

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

This PR includes changesets to release 1 package
Name Type
@ebay/ebayui-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

@agliga agliga force-pushed the gradient-server-icons branch from a2571e6 to 7a752ad Compare March 6, 2024 22:08
@LuLaValva LuLaValva changed the title fix(ebay-icon): added gradeitn support on server side renering fix(ebay-icon): added gradient support on server side renering Mar 6, 2024
@agliga agliga force-pushed the gradient-server-icons branch from 7a752ad to ea77701 Compare March 6, 2024 22:14
LuLaValva
LuLaValva previously approved these changes Mar 6, 2024
@agliga agliga force-pushed the gradient-server-icons branch from ea77701 to 0905866 Compare March 6, 2024 22:30
@agliga agliga changed the title fix(ebay-icon): added gradient support on server side renering fix(ebay-icon): added gradient support on server side rendering Mar 6, 2024
@agliga agliga force-pushed the gradient-server-icons branch from 0905866 to 814bcb1 Compare March 6, 2024 22:33
@agliga agliga merged commit 2e9da42 into master Mar 6, 2024
2 checks passed
@agliga agliga deleted the gradient-server-icons branch March 6, 2024 22:50
@github-actions github-actions bot mentioned this pull request Mar 6, 2024
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