Commit 392870f6 authored by tom's avatar tom

change border radius prop

parent 04005d6d
...@@ -101,7 +101,7 @@ const TxsNewItemNotice = ({ children, className }: Props) => { ...@@ -101,7 +101,7 @@ const TxsNewItemNotice = ({ children, className }: Props) => {
} }
return ( return (
<Alert className={ className } status="warning" p={ 4 } borderRadius={ 0 } fontWeight={ 400 }> <Alert className={ className } status="warning" p={ 4 } fontWeight={ 400 }>
<Spinner size="sm" mr={ 3 }/> <Spinner size="sm" mr={ 3 }/>
<Text as="span" whiteSpace="pre">+ { num } new transaction{ num > 1 ? 's' : '' }. </Text> <Text as="span" whiteSpace="pre">+ { num } new transaction{ num > 1 ? 's' : '' }. </Text>
<Link onClick={ handleClick }>Show in list</Link> <Link onClick={ handleClick }>Show in list</Link>
......
...@@ -47,7 +47,7 @@ const TxsTable = ({ txs, sort, sorting }: Props) => { ...@@ -47,7 +47,7 @@ const TxsTable = ({ txs, sort, sorting }: Props) => {
</Tr> </Tr>
</TheadSticky> </TheadSticky>
<Tbody> <Tbody>
<TxsNewItemNotice> <TxsNewItemNotice borderRadius={ 0 }>
{ ({ content }) => <Tr><Td colSpan={ 10 } p={ 0 }>{ content }</Td></Tr> } { ({ content }) => <Tr><Td colSpan={ 10 } p={ 0 }>{ content }</Td></Tr> }
</TxsNewItemNotice> </TxsNewItemNotice>
{ txs.map((item) => ( { txs.map((item) => (
......
...@@ -31,7 +31,7 @@ const TxsWithSort = ({ ...@@ -31,7 +31,7 @@ const TxsWithSort = ({
<> <>
<Show below="lg" ssr={ false }> <Show below="lg" ssr={ false }>
<Box> <Box>
<TxsNewItemNotice borderRadius="md"> <TxsNewItemNotice>
{ ({ content }) => <Box>{ content }</Box> } { ({ content }) => <Box>{ content }</Box> }
</TxsNewItemNotice> </TxsNewItemNotice>
{ sortedTxs.map(tx => <TxsListItem tx={ tx } key={ tx.hash }/>) } { sortedTxs.map(tx => <TxsListItem tx={ tx } key={ tx.hash }/>) }
......
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