jup-ag / terminal

Jupiter Terminal is an open-sourced, lite version of Jupiter that provides end-to-end swap flow by linking it in your HTML.
https://terminal.jup.ag
70 stars 34 forks source link

Jupiter Terminal V3 CSS overrides global page styles #90

Open llegoelkelo opened 6 days ago

llegoelkelo commented 6 days ago

Hey guys, when loading https://terminal.jup.ag/main-v3.js the css file https://terminal.jup.ag/main-3.0.0-Jupiter.css eventually also gets loaded into our dapp but it actually overrides some styles.

So far I have only noticed our buttons being affected but it could be more:

image
llegoelkelo commented 2 days ago

You can actually see this in the kitchen sink page as well: https://terminal.jup.ag

llegoelkelo commented 2 days ago

Turns out this was simply a css injection order. I have submitted a PR.