Skip to content

Commit

Permalink
add allow transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
ielijose committed Dec 7, 2023
1 parent c1c8728 commit dc9ead4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useNoRampModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const useNoRampModal = (config: NoRampConfig) => {
iframe.width = '100%';
iframe.height = '100%';
iframe.allow = 'clipboard-write';
iframe.setAttribute('allowtransparency', 'true');
iframe.style.cssText =
'position: fixed; inset: 0px; z-index: 2147483647; border-width: 0px; overflow: hidden auto; top: 0, left: 0, width: 100%, height: 100%';
iframe.style.display = isOpen ? 'block' : 'none';
Expand Down

1 comment on commit dc9ead4

@vercel
Copy link

@vercel vercel bot commented on dc9ead4 Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

noramp-kit – ./

noramp-kit-noramp.vercel.app
noramp-kit.vercel.app
noramp-kit-git-main-noramp.vercel.app

Please sign in to comment.