Skip to content

Commit

Permalink
Press entire tx summary area to close footer (#381)
Browse files Browse the repository at this point in the history
* Press entire tx summary area to close footer

* Make signup/login toggle button bigger
  • Loading branch information
JunichiSugiura authored Jun 17, 2024
1 parent 6281ce2 commit d8b6f76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/keychain/src/components/connect/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function Login({
description="Need a controller?"
onClick={() => onSignup(props.values.username)}
>
Sign up
Sign Up
</RegistrationLink>
</Footer>
</FormikForm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function RegistrationLink({
{description}
</Text>

<Button variant="link" onClick={onClick}>
<Button variant="gohst" onClick={onClick} textTransform="none" px={4} py={2} fontWeight="medium" color="link.blue" fontSize="xs">
{children}
</Button>
</HStack>
Expand Down
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 d8b6f76

Please sign in to comment.