Skip to content

Commit

Permalink
using grid place-items-center
Browse files Browse the repository at this point in the history
Co-authored-by: Dean Sallinen <[email protected]>
  • Loading branch information
dafuga and deansallinen authored Dec 18, 2024
1 parent 35f0fdb commit 0570edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/[network]/(account)/fund/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@
rel="noopener noreferrer"
class="block h-full transition-all hover:scale-105"
>
<div class="relative mb-4 aspect-square overflow-hidden rounded-lg bg-mineShaft-900 p-4">
<div class="mb-4 aspect-square grid place-items-center rounded-lg bg-mineShaft-900 p-4">
<img
src={exchange.logo}
alt="{exchange.name} logo"
class="absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 transform object-cover p-4"
class="size-full object-cover p-4"
/>
</div>
<h3 class="text-center text-lg font-medium">{exchange.name}</h3>
Expand Down

0 comments on commit 0570edb

Please sign in to comment.