Skip to content

Commit

Permalink
Press entire tx summary area to close footer
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Jun 17, 2024
1 parent 6281ce2 commit 0e402f4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/keychain/src/components/layout/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ export function Footer({
flex={1}
h={`calc(${maxH} - ${footerHeight}px)`}
>
<HStack align="flex-start" pt={isExpandable ? 6 : 0}>
<HStack
align="flex-start"
pt={isExpandable ? 6 : 0}
onClick={onToggle}
_hover={{ cursor: "pointer" }}
>
<TransactionSummary
isSlot={isSlot}
showTerm={showTerm}
Expand All @@ -113,7 +118,6 @@ export function Footer({
h={8}
bg="solid.primary"
zIndex={1}
onClick={onToggle}
/>
)}
</HStack>
Expand Down

0 comments on commit 0e402f4

Please sign in to comment.