Skip to content

Commit

Permalink
Tweak address tile UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ryutamago committed Sep 13, 2023
1 parent 0ff93bc commit a4b82a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AddressTile/AddressTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const AddressTile: React.FC<{ address: Address } & FlexProps> = ({ address, ...f
<Flex
alignItems="center"
w="400px"
p="9px 15px"
p="9px 10px"
borderRadius="4px"
bg={colors.gray[800]}
justifyContent="space-between"
Expand Down
4 changes: 2 additions & 2 deletions src/components/AddressTile/AddressTileIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const baseIconProps = {
height: "30px",
width: "30px",
borderRadius: "4px",
p: "3.5px",
p: "5px",
bg: colors.gray[500],
};

Expand All @@ -22,7 +22,7 @@ const AddressTileIcon: React.FC<{
}> = ({ addressKind }) => {
switch (addressKind.type) {
case "mnemonic":
return <Identicon identiconSize={32} address={addressKind.pkh} />;
return <Identicon p="5px" identiconSize={20} address={addressKind.pkh} />;
case "social":
return <SocialIcon {...baseIconProps} bg="white" />;
case "ledger":
Expand Down

0 comments on commit a4b82a7

Please sign in to comment.