Commit 9ac28a45 authored by lynn's avatar lynn Committed by GitHub

fix: token selector scroll margin (#6005)

* fix

* update tests

* remove gql file

* fix breakng snapshot
parent bde1421f
...@@ -105,7 +105,7 @@ exports[`renders currency rows correctly when currencies list is non-empty 1`] = ...@@ -105,7 +105,7 @@ exports[`renders currency rows correctly when currencies list is non-empty 1`] =
} }
<div <div
style="padding-right: 8px; padding-top: 8px;" style="padding-right: 4px;"
> >
<div <div
class="CurrencyList_scrollbarStyle__1pi21y70" class="CurrencyList_scrollbarStyle__1pi21y70"
...@@ -388,7 +388,7 @@ exports[`renders loading rows when isLoading is true 1`] = ` ...@@ -388,7 +388,7 @@ exports[`renders loading rows when isLoading is true 1`] = `
} }
<div <div
style="padding-right: 8px; padding-top: 8px;" style="padding-right: 4px;"
> >
<div <div
class="CurrencyList_scrollbarStyle__1pi21y70" class="CurrencyList_scrollbarStyle__1pi21y70"
......
...@@ -290,7 +290,7 @@ export default function CurrencyList({ ...@@ -290,7 +290,7 @@ export default function CurrencyList({
}, []) }, [])
return ( return (
<div style={{ paddingRight: '8px', paddingTop: '8px' }}> <div style={{ paddingRight: '4px' }}>
{isLoading ? ( {isLoading ? (
<FixedSizeList <FixedSizeList
className={styles.scrollbarStyle} className={styles.scrollbarStyle}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment