Commit 727e88a5 authored by tom goriunov's avatar tom goriunov Committed by GitHub

disable focus state for buttons on mobile (#1043)

Address Contract tab title: unnecessary border in mobile view

Fixes #1041
parent 7a6afac7
...@@ -177,6 +177,9 @@ const baseStyle = defineStyle({ ...@@ -177,6 +177,9 @@ const baseStyle = defineStyle({
fontWeight: 600, fontWeight: 600,
borderRadius: 'base', borderRadius: 'base',
overflow: 'hidden', overflow: 'hidden',
_focusVisible: {
boxShadow: { base: 'none', lg: 'outline' },
},
}); });
const sizes = { const sizes = {
......
...@@ -24,6 +24,9 @@ const variantSoftRounded = definePartsStyle((props) => { ...@@ -24,6 +24,9 @@ const variantSoftRounded = definePartsStyle((props) => {
_hover: { _hover: {
color: 'link_hovered', color: 'link_hovered',
}, },
_focusVisible: {
boxShadow: { base: 'none', lg: 'outline' },
},
}, },
}; };
}); });
......
...@@ -57,7 +57,7 @@ const AddressCoinBalanceListItem = (props: Props) => { ...@@ -57,7 +57,7 @@ const AddressCoinBalanceListItem = (props: Props) => {
) } ) }
<Flex columnGap={ 2 } w="100%"> <Flex columnGap={ 2 } w="100%">
<Skeleton isLoaded={ !props.isLoading } fontWeight={ 500 } flexShrink={ 0 }>Age</Skeleton> <Skeleton isLoaded={ !props.isLoading } fontWeight={ 500 } flexShrink={ 0 }>Age</Skeleton>
<Skeleton isLoaded={ !props.isLoading } color="text_secondary">{ timeAgo }</Skeleton> <Skeleton isLoaded={ !props.isLoading } color="text_secondary"><span>{ timeAgo }</span></Skeleton>
</Flex> </Flex>
</ListItemMobile> </ListItemMobile>
); );
......
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