Skip to content

Commit

Permalink
fix: double scroll in manage token list (#3020)
Browse files Browse the repository at this point in the history
* fix double scroll

* remove bottom padding
  • Loading branch information
tinaszheng authored Dec 21, 2021
1 parent e9a9dd9 commit 43e1fe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/SearchModal/Manage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import { PaddedColumn, Separator } from './styleds'
const Wrapper = styled.div`
width: 100%;
position: relative;
padding-bottom: 80px;
display: flex;
flex-flow: column;
`

const ToggleWrapper = styled(RowBetween)`
Expand Down
5 changes: 3 additions & 2 deletions src/components/SearchModal/ManageLists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import { CurrencyModalView } from './CurrencySearchModal'
import { PaddedColumn, SearchInput, Separator, SeparatorDark } from './styleds'

const Wrapper = styled(Column)`
height: 100%;
flex: 1;
overflow-y: hidden;
`

const UnpaddedLinkStyledButton = styled(LinkStyledButton)`
Expand Down Expand Up @@ -229,7 +230,7 @@ const ListContainer = styled.div`
padding: 1rem;
height: 100%;
overflow: auto;
padding-bottom: 80px;
flex: 1;
`

export function ManageLists({
Expand Down

0 comments on commit 43e1fe9

Please sign in to comment.