Commit 110009d3 authored by tom's avatar tom

icon and text fixes

parent 64e2affa
...@@ -78,7 +78,7 @@ const AddressDetails = ({ addressQuery }: Props) => { ...@@ -78,7 +78,7 @@ const AddressDetails = ({ addressQuery }: Props) => {
</Flex> </Flex>
{ explorers.length > 0 && ( { explorers.length > 0 && (
<Flex mt={ 8 } columnGap={ 4 } flexWrap="wrap"> <Flex mt={ 8 } columnGap={ 4 } flexWrap="wrap">
<Text>Verify with other explorers</Text> <Text fontSize="sm">Verify with other explorers</Text>
{ explorers.map((explorer) => { { explorers.map((explorer) => {
const url = new URL(explorer.paths.tx + '/' + router.query.id, explorer.baseUrl); const url = new URL(explorer.paths.tx + '/' + router.query.id, explorer.baseUrl);
return <ExternalLink key={ explorer.baseUrl } title={ explorer.title } href={ url.toString() }/>; return <ExternalLink key={ explorer.baseUrl } title={ explorer.title } href={ url.toString() }/>;
......
import { Box, Button, Icon, Skeleton } from '@chakra-ui/react'; import { Box, Icon, IconButton, Skeleton, Tooltip } from '@chakra-ui/react';
import { useQuery, useQueryClient, useIsFetching } from '@tanstack/react-query'; import { useQuery, useQueryClient, useIsFetching } from '@tanstack/react-query';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
import React from 'react'; import React from 'react';
...@@ -63,9 +63,17 @@ const TokenSelect = () => { ...@@ -63,9 +63,17 @@ const TokenSelect = () => {
}); });
const button = ( const button = (
<Button variant="outline" size="sm" ml={ 3 }> <Tooltip label="Show all tokens">
<Icon as={ walletIcon } boxSize={ 5 }/> <IconButton
</Button> aria-label="Show all tokens"
variant="outline"
size="sm"
pl="6px"
pr="6px"
ml={ 3 }
icon={ <Icon as={ walletIcon } boxSize={ 5 }/> }
/>
</Tooltip>
); );
if (isLoading || balancesIsFetching === 1) { if (isLoading || balancesIsFetching === 1) {
......
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