Skip to content

Commit

Permalink
separate the div for expandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Mar 14, 2024
1 parent 3586225 commit 9ea3945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/(sidebar)/account/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ export default function CreateAccount() {
Fund account with Friendbot
</Button>
</div>

<ExpandBox isExpanded={Boolean(account.publicKey && secretKey)}>
<GenerateKeypair secretKey={secretKey} />
</ExpandBox>
</div>
<ExpandBox isExpanded={Boolean(account.publicKey && secretKey)}>
<GenerateKeypair secretKey={secretKey} />
</ExpandBox>
</Card>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions src/app/(sidebar)/account/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
display: flex;
align-items: flex-start;
flex-direction: column;
margin-top: pxToRem(24px);
gap: pxToRem(16px);

.Input__side-element--right {
Expand Down

0 comments on commit 9ea3945

Please sign in to comment.