Commit 0c3702ee authored by tom's avatar tom

fixes

parent 77f42ef9
...@@ -41,7 +41,7 @@ const SearchResultsPageContent = () => { ...@@ -41,7 +41,7 @@ const SearchResultsPageContent = () => {
<SkeletonList/> <SkeletonList/>
</Show> </Show>
<Hide below="lg"> <Hide below="lg">
<SkeletonTable columns={ [ '33%', '34%', '33%' ] }/> <SkeletonTable columns={ [ '50%', '50%', '150px' ] }/>
</Hide> </Hide>
</Box> </Box>
); );
......
...@@ -28,7 +28,7 @@ const SearchResultListItem = ({ data, searchTerm }: Props) => { ...@@ -28,7 +28,7 @@ const SearchResultListItem = ({ data, searchTerm }: Props) => {
return ( return (
<Flex alignItems="center"> <Flex alignItems="center">
<TokenLogo boxSize={ 6 } hash={ data.address } name={ data.name }/> <TokenLogo boxSize={ 6 } hash={ data.address } name={ data.name } flexShrink={ 0 }/>
<Link ml={ 2 } href={ link('token_index', { hash: data.address }) } fontWeight={ 700 }> <Link ml={ 2 } href={ link('token_index', { hash: data.address }) } fontWeight={ 700 }>
<span dangerouslySetInnerHTML={{ __html: highlightText(name, searchTerm) }}/> <span dangerouslySetInnerHTML={{ __html: highlightText(name, searchTerm) }}/>
</Link> </Link>
...@@ -41,7 +41,7 @@ const SearchResultListItem = ({ data, searchTerm }: Props) => { ...@@ -41,7 +41,7 @@ const SearchResultListItem = ({ data, searchTerm }: Props) => {
const shouldHighlightHash = data.address.toLowerCase() === searchTerm.toLowerCase(); const shouldHighlightHash = data.address.toLowerCase() === searchTerm.toLowerCase();
return ( return (
<Address> <Address>
<AddressIcon hash={ data.address } mr={ 2 }/> <AddressIcon hash={ data.address } mr={ 2 } flexShrink={ 0 }/>
<Box as={ shouldHighlightHash ? 'mark' : 'span' } display="block" whiteSpace="nowrap" overflow="hidden"> <Box as={ shouldHighlightHash ? 'mark' : 'span' } display="block" whiteSpace="nowrap" overflow="hidden">
<AddressLink hash={ data.address } fontWeight={ 700 } display="block" w="100%"/> <AddressLink hash={ data.address } fontWeight={ 700 } display="block" w="100%"/>
</Box> </Box>
......
...@@ -28,7 +28,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => { ...@@ -28,7 +28,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => {
<> <>
<Td fontSize="sm"> <Td fontSize="sm">
<Flex alignItems="center"> <Flex alignItems="center">
<TokenLogo boxSize={ 6 } hash={ data.address } name={ data.name }/> <TokenLogo boxSize={ 6 } hash={ data.address } name={ data.name } flexShrink={ 0 }/>
<Link ml={ 2 } href={ link('token_index', { hash: data.address }) } fontWeight={ 700 }> <Link ml={ 2 } href={ link('token_index', { hash: data.address }) } fontWeight={ 700 }>
<span dangerouslySetInnerHTML={{ __html: highlightText(name, searchTerm) }}/> <span dangerouslySetInnerHTML={{ __html: highlightText(name, searchTerm) }}/>
</Link> </Link>
...@@ -51,7 +51,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => { ...@@ -51,7 +51,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => {
<> <>
<Td fontSize="sm"> <Td fontSize="sm">
<Flex alignItems="center" overflow="hidden"> <Flex alignItems="center" overflow="hidden">
<AddressIcon hash={ data.address } mr={ 2 }/> <AddressIcon hash={ data.address } mr={ 2 } flexShrink={ 0 }/>
<Link href={ link('address_index', { id: data.address }) } fontWeight={ 700 } overflow="hidden" whiteSpace="nowrap"> <Link href={ link('address_index', { id: data.address }) } fontWeight={ 700 } overflow="hidden" whiteSpace="nowrap">
<Box as={ shouldHighlightHash ? 'mark' : 'span' } display="block"> <Box as={ shouldHighlightHash ? 'mark' : 'span' } display="block">
<HashStringShortenDynamic hash={ data.address }/> <HashStringShortenDynamic hash={ data.address }/>
...@@ -69,7 +69,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => { ...@@ -69,7 +69,7 @@ const SearchResultTableItem = ({ data, searchTerm }: Props) => {
return ( return (
<Td colSpan={ 2 } fontSize="sm"> <Td colSpan={ 2 } fontSize="sm">
<Address> <Address>
<AddressIcon hash={ data.address } mr={ 2 }/> <AddressIcon hash={ data.address } mr={ 2 } flexShrink={ 0 }/>
<mark> <mark>
<AddressLink hash={ data.address } type="address" fontWeight={ 700 }/> <AddressLink hash={ data.address } type="address" fontWeight={ 700 }/>
</mark> </mark>
......
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