Commit a00010bc authored by tom's avatar tom

fix action bar margin, menu text color and address name truncation

parent 8d48fe74
...@@ -25,7 +25,7 @@ export const recipe = defineSlotRecipe({ ...@@ -25,7 +25,7 @@ export const recipe = defineSlotRecipe({
}, },
item: { item: {
textDecoration: 'none', textDecoration: 'none',
color: 'initial', color: 'text.primary',
userSelect: 'none', userSelect: 'none',
borderRadius: 'none', borderRadius: 'none',
width: '100%', width: '100%',
......
...@@ -170,7 +170,7 @@ const Marketplace = () => { ...@@ -170,7 +170,7 @@ const Marketplace = () => {
<IconSvg name="dots"/> <IconSvg name="dots"/>
</IconButton> </IconButton>
</MenuTrigger> </MenuTrigger>
<MenuContent> <MenuContent zIndex="banner">
{ links.map(({ label, href, icon }) => ( { links.map(({ label, href, icon }) => (
<MenuItem key={ label } value={ label } asChild> <MenuItem key={ label } value={ label } asChild>
<Link external href={ href } variant="menu" gap={ 0 }> <Link external href={ href } variant="menu" gap={ 0 }>
...@@ -205,6 +205,7 @@ const Marketplace = () => { ...@@ -205,6 +205,7 @@ const Marketplace = () => {
showShadow showShadow
display="flex" display="flex"
flexDirection="column" flexDirection="column"
mt={ 0 }
mx={{ base: -3, lg: -12 }} mx={{ base: -3, lg: -12 }}
px={{ base: 3, lg: 12 }} px={{ base: 3, lg: 12 }}
pt={{ base: 4, lg: 6 }} pt={{ base: 4, lg: 6 }}
......
...@@ -29,6 +29,7 @@ const ActionBar = ({ children, className, showShadow }: Props) => { ...@@ -29,6 +29,7 @@ const ActionBar = ({ children, className, showShadow }: Props) => {
className={ className } className={ className }
backgroundColor={{ _light: 'white', _dark: 'black' }} backgroundColor={{ _light: 'white', _dark: 'black' }}
pt={ 6 } pt={ 6 }
mt={ -6 }
pb={{ base: 6, lg: 3 }} pb={{ base: 6, lg: 3 }}
mx={{ base: -3, lg: 0 }} mx={{ base: -3, lg: 0 }}
px={{ base: 3, lg: 0 }} px={{ base: 3, lg: 0 }}
......
...@@ -128,7 +128,7 @@ const Content = chakra((props: ContentProps) => { ...@@ -128,7 +128,7 @@ const Content = chakra((props: ContentProps) => {
); );
return ( return (
<Tooltip content={ label } contentProps={{ maxW: { base: 'calc(100vw - 8px)', lg: '400px' } }}> <Tooltip content={ label } contentProps={{ maxW: { base: 'calc(100vw - 8px)', lg: '400px' } }} triggerProps={{ minW: 0 }}>
<Skeleton loading={ props.isLoading } overflow="hidden" textOverflow="ellipsis" whiteSpace="nowrap" { ...styles }> <Skeleton loading={ props.isLoading } overflow="hidden" textOverflow="ellipsis" whiteSpace="nowrap" { ...styles }>
{ nameText } { nameText }
</Skeleton> </Skeleton>
......
...@@ -49,7 +49,7 @@ const AddressEntityContentProxy = (props: ContentProps) => { ...@@ -49,7 +49,7 @@ const AddressEntityContentProxy = (props: ContentProps) => {
); );
return ( return (
<Tooltip content={ content } interactive contentProps={{ maxW: { base: 'calc(100vw - 8px)', lg: '410px' } }}> <Tooltip content={ content } interactive contentProps={{ maxW: { base: 'calc(100vw - 8px)', lg: '410px' } }} triggerProps={{ minW: 0 }}>
<Box display="inline-flex" w="100%"> <Box display="inline-flex" w="100%">
<EntityBase.Content <EntityBase.Content
{ ...props } { ...props }
......
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