From 6441c8bf6ee313a7e7ca67c7b2233249aecc12da Mon Sep 17 00:00:00 2001 From: chambaz Date: Wed, 27 Nov 2024 23:56:47 -0500 Subject: [PATCH] fix: stake card responsive styling fixes --- .../common/Stake/components/stake-card.tsx | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/apps/marginfi-v2-ui/src/components/common/Stake/components/stake-card.tsx b/apps/marginfi-v2-ui/src/components/common/Stake/components/stake-card.tsx index 9914bf720a..49e2cd610d 100644 --- a/apps/marginfi-v2-ui/src/components/common/Stake/components/stake-card.tsx +++ b/apps/marginfi-v2-ui/src/components/common/Stake/components/stake-card.tsx @@ -34,17 +34,18 @@ const StakeCard = ({ lstBank, lstOverview, connected }: StakeCardProps) => { return ( - + - - Stake your SOL with marginfi validators and mint our liquid staking token LST + + Stake your SOL with marginfi validators +
and mint our liquid staking token LST
Stake your SOL with marginfi validators and mint our liquid staking token LST
- -
    + +
    • {lstOverview?.apy ? lstOverview.apy : "~8.5"}% APY @@ -60,16 +61,16 @@ const StakeCard = ({ lstBank, lstOverview, connected }: StakeCardProps) => {
    {lstOverview && ( -
      -
    • LST TVL
    • -
    • {usdFormatter.format(lstOverview.tvl)}
    • -
    • LST Volume
    • +
        +
      • LST TVL
      • +
      • {usdFormatter.format(lstOverview.tvl)}
      • +
      • LST Volume
      • {usdFormatter.format(lstOverview.volumeUsd)}
      )} - +
      { }} dialogProps={{ trigger: ( - ), @@ -103,7 +104,7 @@ const StakeCard = ({ lstBank, lstOverview, connected }: StakeCardProps) => { }} dialogProps={{ trigger: ( - ),