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
71 stars 35 forks source link

Fix secondary pages when using custom padding #36

Closed wjthieme closed 1 year ago

wjthieme commented 1 year ago

When you add custom padding to the Jupiter terminal, secondary pages are not aligned correctly.

window({
  ...
  containerStyles: { padding: "32px" }
});
Screenshot 2023-07-08 at 5 56 43 PM

I have added the left-0 tailwind css class to the two secondary pages (route selector and pair selector) so that it aligns with the modal correctly.

Screenshot 2023-07-08 at 6 01 08 PM
vercel[bot] commented 1 year ago

@wjthieme is attempting to deploy a commit to the wowcats Team on Vercel.

A member of the Team first needs to authorize it.

worlddlckgh commented 1 year ago

Got it, thanks! Will deploy a new version, 🙏