FundRing / fundring

This is a community fund for the Filecoin ecosystem that allows participants to contribute to projects they're interested in.
MIT License
5 stars 0 forks source link

Better encapsulate exported widget styles #7

Closed avivash closed 1 year ago

avivash commented 1 year ago

Describe the bug

I thought I'd solved for this, but I think some of the global tailwind styles from the exported web component are still affecting apps where it's embedded

Steps to reproduce

Embed the widget in an app and see if tailwind styles get applied to :root

Expected behavior

Tailwind styles from the widget should not affect the styles of the app it is embedded into

Environment

avivash commented 1 year ago

Done as part of https://github.com/FundRing/fundring/commit/10080ca3f36b6156f446abffe6a223f2d70de84e

image