Skip to content

Commit ce748f1

Browse files
committed
fix balance alignment
1 parent 0a6dc73 commit ce748f1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

widget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ensofinance/shortcuts-widget",
3-
"version": "1.0.14",
3+
"version": "1.0.15",
44
"type": "module",
55
"homepage": "https://www.enso.build/",
66
"repository": {

widget/src/components/SwapInput.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,12 @@ const SwapInput = ({
129129
</Flex>
130130

131131
<Flex justifyContent={"space-between"} fontSize="sm">
132-
<Flex gap={1} alignItems={"center"}>
133-
<Text
134-
fontSize="sm"
135-
color="fg.muted"
136-
whiteSpace={"nowrap"}
137-
visibility={address ? "visible" : "hidden"}
138-
maxW={"100px"}
139-
>
132+
<Flex
133+
gap={1}
134+
alignItems={"center"}
135+
visibility={address ? "visible" : "hidden"}
136+
>
137+
<Text fontSize="sm" color="fg.muted" whiteSpace={"nowrap"}>
140138
Balance: {formatNumber(balanceValue)}
141139
</Text>
142140
<Button

0 commit comments

Comments
 (0)