Skip to content

Commit

Permalink
style(frontend): Center available balance label (#4403)
Browse files Browse the repository at this point in the history
# Motivation

For mobile version, the label "Available balance" in the `Hero` was not
centered. Now it is.

### Before

![Screenshot 2025-01-22 at 14 13
00](https://github.com/user-attachments/assets/c1ef9e88-b71a-4b8d-ae27-1f1dddee5a1f)

### After

![Screenshot 2025-01-22 at 14 12
47](https://github.com/user-attachments/assets/d8deda57-2c2e-4ecc-9048-8da1d1675937)
  • Loading branch information
AntonioVentilii authored Jan 22, 2025
1 parent f94201d commit 3bcbc41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$: totalUsd = sumTokensUiUsdBalance($combinedDerivedSortedNetworkTokensUi);
</script>

<span class="flex flex-col gap-2">
<span class="flex flex-col items-center gap-2">
<output class={`mt-8 inline-block break-all text-5xl font-bold`}>
{#if $loaded}
{formatUSD({ value: totalUsd })}
Expand Down

0 comments on commit 3bcbc41

Please sign in to comment.