Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
f8bb5046
Commit
f8bb5046
authored
Dec 15, 2022
by
Jordan Frankfurt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
73ad9987e4b337987f8e3cb2ef861bf03c42cc67
parent
7d1589d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
index.tsx
src/components/FiatOnrampModal/index.tsx
+8
-8
No files found.
src/components/FiatOnrampModal/index.tsx
View file @
f8bb5046
...
@@ -11,14 +11,13 @@ import Modal from '../Modal'
...
@@ -11,14 +11,13 @@ import Modal from '../Modal'
const
Wrapper
=
styled
.
div
`
const
Wrapper
=
styled
.
div
`
background-color:
${({
theme
})
=>
theme
.
backgroundSurface
}
;
background-color:
${({
theme
})
=>
theme
.
backgroundSurface
}
;
border-radius: 20px;
box-shadow:
${({
theme
})
=>
theme
.
deepShadow
}
;
box-shadow:
${({
theme
})
=>
theme
.
deepShadow
}
;
display: flex;
display: flex;
flex-flow: column nowrap;
flex-flow: column nowrap;
margin: 0;
margin: 0;
min-height:
60
0px;
min-height:
72
0px;
min-width: 375px;
min-width: 375px;
outline: 1px solid
${({
theme
})
=>
theme
.
backgroundOutline
}
;
padding: 12px;
position: relative;
position: relative;
width: 100%;
width: 100%;
`
`
...
@@ -31,15 +30,16 @@ const ErrorText = styled(ThemedText.BodyPrimary)`
...
@@ -31,15 +30,16 @@ const ErrorText = styled(ThemedText.BodyPrimary)`
`
`
const
StyledIframe
=
styled
.
iframe
`
const
StyledIframe
=
styled
.
iframe
`
background-color:
${({
theme
})
=>
theme
.
white
}
;
background-color:
${({
theme
})
=>
theme
.
white
}
;
border-radius: 12px;
bottom: 0;
bottom: 0;
left: 0;
left: 0;
height:
100%
;
height:
calc(100% - 16px)
;
margin:
auto
;
margin:
8px
;
padding:
8px
;
padding:
0
;
position: absolute;
position: absolute;
right: 0;
right: 0;
top: 0;
top: 0;
width:
100%
;
width:
calc(100% - 16px)
;
`
`
const
StyledSpinner
=
styled
(
CustomLightSpinner
)
`
const
StyledSpinner
=
styled
(
CustomLightSpinner
)
`
bottom: 0;
bottom: 0;
...
@@ -119,7 +119,7 @@ export default function FiatOnrampModal() {
...
@@ -119,7 +119,7 @@ export default function FiatOnrampModal() {
},
[
fetchSignedIframeUrl
])
},
[
fetchSignedIframeUrl
])
return
(
return
(
<
Modal
isOpen=
{
fiatOnrampModalOpen
}
onDismiss=
{
closeModal
}
m
inHeight=
{
false
}
maxHeight=
{
9
0
}
>
<
Modal
isOpen=
{
fiatOnrampModalOpen
}
onDismiss=
{
closeModal
}
m
axHeight=
{
72
0
}
>
<
Wrapper
data
-
testid=
"fiat-onramp-modal"
>
<
Wrapper
data
-
testid=
"fiat-onramp-modal"
>
{
error
?
(
{
error
?
(
<>
<>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment