We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63c407c commit 049998bCopy full SHA for 049998b
src/connectors/webwallet/starknetWindowObject/wormhole.ts
@@ -1,3 +1,5 @@
1
+import { ENABLE_POPUP_HEIGHT, ENABLE_POPUP_WIDTH } from "../helpers/popupSizes"
2
+
3
const applyModalStyle = (iframe: HTMLIFrameElement) => {
4
iframe.style.display = "none"
5
iframe.style.borderRadius = "40px"
@@ -8,6 +10,8 @@ const applyModalStyle = (iframe: HTMLIFrameElement) => {
8
10
iframe.style.transform = "translate(-50%, -50%)"
9
11
iframe.style.backgroundColor = "transparent"
12
iframe.style.zIndex = "999999"
13
+ iframe.style.height = `${ENABLE_POPUP_HEIGHT}px`
14
+ iframe.style.width = `${ENABLE_POPUP_WIDTH}px`
15
}
16
17
export const showModal = (
0 commit comments