From 23777730887e5619040e80bf3c107716b26d1eb3 Mon Sep 17 00:00:00 2001 From: Kevin Davis Date: Wed, 6 Nov 2024 19:24:24 +0700 Subject: [PATCH] chore: update CTA align --- src/containers/daoExplorer/daoExplorer.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/containers/daoExplorer/daoExplorer.tsx b/src/containers/daoExplorer/daoExplorer.tsx index 498d75d94..a3eb0fe70 100644 --- a/src/containers/daoExplorer/daoExplorer.tsx +++ b/src/containers/daoExplorer/daoExplorer.tsx @@ -169,11 +169,14 @@ export const DaoExplorer = () => { 'flex w-full justify-center md:w-fit': isConnected, }); - const buttonGroupContainerClassName = classNames('shrink-0 flex gap-x-3', { - 'flex md:w-fit': !isConnected && filters.quickFilter === 'featuredDaos', - 'flex gap-x-3 w-full md:w-fit justify-between': - isConnected && filters.quickFilter !== 'featuredDaos', - }); + const buttonGroupContainerClassName = classNames( + 'shrink-0 flex gap-x-3 justify-end', + { + 'flex md:w-fit': !isConnected && filters.quickFilter === 'featuredDaos', + 'flex gap-x-3 w-full md:w-fit justify-between': + isConnected && filters.quickFilter === 'allDaos', + } + ); /************************************************* * Render *