From 537e7428d0be42370c112adcdf874bf0ce9962bb Mon Sep 17 00:00:00 2001 From: Kevin Davis Date: Tue, 29 Oct 2024 15:32:24 +0100 Subject: [PATCH 1/2] fix: connect buttons, explorer layout margin --- src/@aragon/ods-old/components/button/buttonWallet.tsx | 6 ++++-- src/containers/navbar/exploreNav.tsx | 2 -- src/pages/explore.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/@aragon/ods-old/components/button/buttonWallet.tsx b/src/@aragon/ods-old/components/button/buttonWallet.tsx index 0d9717c0f..918e3df0b 100644 --- a/src/@aragon/ods-old/components/button/buttonWallet.tsx +++ b/src/@aragon/ods-old/components/button/buttonWallet.tsx @@ -44,7 +44,9 @@ type AvatarProps = Pick; const Avatar: FC = ({isConnected, isLoading, src}) => { if (!isConnected) { - return ; + return ( + + ); } if (isLoading) { return ; @@ -59,7 +61,7 @@ const StyledButton = styled.button.attrs(({isLoading}) => { isLoading ? 'text-primary-500' : 'text-neutral-600' } flex items-center md:space-x-3 font-semibold p-3 hover:text-neutral-800 active:text-neutral-800 disabled:text-neutral-300 bg-neutral-0 hover:bg-neutral-100 active:bg-neutral-200 - disabled:bg-neutral-100 rounded-xl focus-visible:ring focus-visible:ring-primary`; + disabled:bg-neutral-100 rounded-xl focus-visible:ring focus-visible:ring-primary size-12 justify-center md:w-fit`; return {className}; })``; diff --git a/src/containers/navbar/exploreNav.tsx b/src/containers/navbar/exploreNav.tsx index b9505b4bc..e0072125d 100644 --- a/src/containers/navbar/exploreNav.tsx +++ b/src/containers/navbar/exploreNav.tsx @@ -49,7 +49,6 @@ const ExploreNav: React.FC = () => { {isDesktop ? ( ) : (