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
d69b194f
Unverified
Commit
d69b194f
authored
May 04, 2021
by
Noah Zinsmeister
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
close #127
parent
13254430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.tsx
src/components/PositionPreview/index.tsx
+6
-5
No files found.
src/components/PositionPreview/index.tsx
View file @
d69b194f
...
@@ -113,13 +113,14 @@ export const PositionPreview = ({
...
@@ -113,13 +113,14 @@ export const PositionPreview = ({
<
LightCard
width=
"48%"
padding=
"8px"
>
<
LightCard
width=
"48%"
padding=
"8px"
>
<
AutoColumn
gap=
"4px"
justify=
"center"
>
<
AutoColumn
gap=
"4px"
justify=
"center"
>
<
TYPE
.
main
fontSize=
"12px"
>
Min price
</
TYPE
.
main
>
<
TYPE
.
main
fontSize=
"12px"
>
Min price
</
TYPE
.
main
>
<
TYPE
.
mediumHeader
textAlign=
"center"
>
{
`${priceLower.toSignificant(
4
)}`
}
</
TYPE
.
mediumHeader
>
<
TYPE
.
mediumHeader
textAlign=
"center"
>
{
`${priceLower.toSignificant(
5
)}`
}
</
TYPE
.
mediumHeader
>
<
TYPE
.
main
<
TYPE
.
main
textAlign=
"center"
textAlign=
"center"
fontSize=
"12px"
fontSize=
"12px"
>
{
` ${quoteCurrency.symbol}/${baseCurrency.symbol}`
}
</
TYPE
.
main
>
>
{
` ${quoteCurrency.symbol}/${baseCurrency.symbol}`
}
</
TYPE
.
main
>
<
TYPE
.
small
textAlign=
"center"
color=
{
theme
.
text3
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
<
TYPE
.
small
textAlign=
"center"
color=
{
theme
.
text3
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
{
'
Position will be
'
}
<
CurrencyLogo
currency=
{
baseCurrency
}
size=
"10px"
/>
{
'
100% at this price.
'
}
Position will be
<
CurrencyLogo
currency=
{
baseCurrency
}
size=
"10px"
/>
100%
{
baseCurrency
?.
symbol
}
at
this price.
</
TYPE
.
small
>
</
TYPE
.
small
>
</
AutoColumn
>
</
AutoColumn
>
</
LightCard
>
</
LightCard
>
...
@@ -127,14 +128,14 @@ export const PositionPreview = ({
...
@@ -127,14 +128,14 @@ export const PositionPreview = ({
<
LightCard
width=
"48%"
padding=
"8px"
>
<
LightCard
width=
"48%"
padding=
"8px"
>
<
AutoColumn
gap=
"4px"
justify=
"center"
>
<
AutoColumn
gap=
"4px"
justify=
"center"
>
<
TYPE
.
main
fontSize=
"12px"
>
Max price
</
TYPE
.
main
>
<
TYPE
.
main
fontSize=
"12px"
>
Max price
</
TYPE
.
main
>
<
TYPE
.
mediumHeader
textAlign=
"center"
>
{
`${priceUpper.toSignificant(
4
)}`
}
</
TYPE
.
mediumHeader
>
<
TYPE
.
mediumHeader
textAlign=
"center"
>
{
`${priceUpper.toSignificant(
5
)}`
}
</
TYPE
.
mediumHeader
>
<
TYPE
.
main
<
TYPE
.
main
textAlign=
"center"
textAlign=
"center"
fontSize=
"12px"
fontSize=
"12px"
>
{
` ${quoteCurrency.symbol}/${baseCurrency.symbol}`
}
</
TYPE
.
main
>
>
{
` ${quoteCurrency.symbol}/${baseCurrency.symbol}`
}
</
TYPE
.
main
>
<
TYPE
.
small
textAlign=
"center"
color=
{
theme
.
text3
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
<
TYPE
.
small
textAlign=
"center"
color=
{
theme
.
text3
}
style=
{
{
marginTop
:
'
4px
'
}
}
>
{
'
Position will be 100%
'
}
Position will be
<
CurrencyLogo
currency=
{
quoteCurrency
}
size=
"10px"
/>
100%
{
quoteCurrency
?.
symbol
}
at
{
quoteCurrency
?.
symbol
}
{
'
at this price.
'
}
this price.
</
TYPE
.
small
>
</
TYPE
.
small
>
</
AutoColumn
>
</
AutoColumn
>
</
LightCard
>
</
LightCard
>
...
...
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