Skip to content

Commit

Permalink
Merge branch 'hf/feat/add-switch-network-experience' of github.com:Fu…
Browse files Browse the repository at this point in the history
…elLabs/fuels-wallet into hf/feat/add-switch-network-experience
  • Loading branch information
helciofranco committed Sep 12, 2024
2 parents 612e8b5 + da26aba commit 7f63fe3
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-berries-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuels-wallet": patch
---

Fix long network URLs breaking layout by enabling word wrapping.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@
"elliptic@>=4.0.0 <=6.5.6": ">=6.5.7",
"elliptic@>=2.0.0 <=6.5.6": ">=6.5.7",
"elliptic@>=5.2.1 <=6.5.6": ">=6.5.7",
"micromatch@<4.0.8": ">=4.0.8"
"micromatch@<4.0.8": ">=4.0.8",
"send@<0.19.0": ">=0.19.0",
"serve-static@<1.16.0": ">=1.16.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export function NetworkReviewCard({
</Card.Header>
<Card.Body css={styles.cardContentSection}>
<Text as="h2">{name}</Text>
<Text fontSize="sm">{url}</Text>
<Text fontSize="sm" css={styles.url}>
{url}
</Text>
</Card.Body>
</MotionCard>
);
Expand All @@ -46,6 +48,9 @@ const styles = {
height: '$6',
},
}),
url: cssObj({
wordWrap: 'break-word',
}),
cardContentSection: cssObj({
py: '$2',
}),
Expand Down
22 changes: 12 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f63fe3

Please sign in to comment.