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
b28cd9c8
Unverified
Commit
b28cd9c8
authored
Jul 01, 2022
by
Kaylee George
Committed by
GitHub
Jul 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: token button jump (#4017)
* fix token button jump * Update index.tsx * move inline style to CSS
parent
07101787
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.tsx
src/components/CurrencyInputPanel/index.tsx
+7
-5
No files found.
src/components/CurrencyInputPanel/index.tsx
View file @
b28cd9c8
...
...
@@ -103,6 +103,7 @@ const LabelRow = styled.div`
const
FiatRow
=
styled
(
LabelRow
)
`
justify-content: flex-end;
height: 16px;
`
const
Aligner
=
styled
.
span
`
...
...
@@ -270,14 +271,15 @@ export default function CurrencyInputPanel({
</
Aligner
>
</
CurrencySelect
>
</
InputRow
>
{
!
hideInput
&&
!
hideBalance
&&
currency
&&
(
<
FiatRow
>
<
FiatRow
>
{
!
hideInput
&&
!
hideBalance
&&
currency
&&
(
<
RowBetween
>
<
LoadingOpacityContainer
$loading=
{
loading
}
>
<
FiatValue
fiatValue=
{
fiatValue
}
priceImpact=
{
priceImpact
}
/>
</
LoadingOpacityContainer
>
{
account
?
(
<
RowFixed
style=
{
{
height
:
'
17px
'
}
}
>
<
RowFixed
>
<
ThemedText
.
Body
onClick=
{
onMax
}
color=
{
theme
.
text3
}
...
...
@@ -303,8 +305,8 @@ export default function CurrencyInputPanel({
<
span
/>
)
}
</
RowBetween
>
</
FiatRow
>
)
}
)
}
</
FiatRow
>
</
Container
>
{
onCurrencySelect
&&
(
<
CurrencySearchModal
...
...
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