Commit a76b9b0b authored by tom's avatar tom

change offsets

parent d57a835d
......@@ -31,14 +31,13 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading
lg: (typeof modeProp === 'object' ? modeProp.lg : modeProp),
xl: (typeof modeProp === 'object' ? modeProp.xl : modeProp),
},
{ ssr: false },
) ?? 'long';
const Entity = tokenHash ? AddressEntityWithTokenFilter : AddressEntity;
if (mode === 'compact') {
return (
<Flex className={ className } flexDir="column" rowGap="14px">
<Flex className={ className } flexDir="column" rowGap={ 3 }>
<Flex alignItems="center" columnGap={ 2 }>
<IconSvg
name="arrows/east"
......
......@@ -160,10 +160,10 @@ const AddressEntry = (props: EntityProps) => {
_before={ !props.isLoading && context?.highlightedAddress === props.address.hash ? {
content: `" "`,
position: 'absolute',
top: '-7px',
top: '-5px',
left: '-5px',
width: `calc(100% + ${ props.noCopy ? 10 : 5 }px)`,
height: 'calc(100% + 12px)',
height: 'calc(100% + 8px)',
borderRadius: 'base',
borderColor: highlightedBorderColor,
borderWidth: '1px',
......
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