File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed
components/Staking/StakingProductsCardGrid Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export const StakingProductCard = ({
162
162
return (
163
163
< div className = "rounded-base hover:scale-101 flex flex-col bg-background-highlight transition-transform" >
164
164
< div className = "flex max-h-24 space-x-3 p-6" >
165
- { ! ! Svg && < Svg className = "rounded-md" width = { 48 } height = { 48 } /> }
165
+ { ! ! Svg && < Svg className = "size-12" /> }
166
166
< div >
167
167
< h4 className = "text-xl" > { name } </ h4 >
168
168
{ typeof minEth !== "undefined" && (
Original file line number Diff line number Diff line change 1
1
import { ElementType , useState } from "react"
2
2
import { useTranslation } from "next-i18next"
3
- import { chakra } from "@chakra-ui/react"
4
3
5
4
import type { StakingPage } from "@/lib/types"
6
5
@@ -403,19 +402,8 @@ export const useStakingConsiderations = ({
403
402
}
404
403
405
404
const indicatorSvgStyle = { width : 20 , height : "auto" }
406
- const StyledSvg = Svg
407
- ? chakra ( Svg , {
408
- baseStyle : {
409
- path : {
410
- fill : "text" ,
411
- } ,
412
- } ,
413
- } )
414
- : chakra ( "div" , {
415
- baseStyle : {
416
- display : "none" ,
417
- } ,
418
- } )
405
+ const StyledSvg = ( ) =>
406
+ Svg ? < Svg className = "size-[4.5rem]" /> : < div className = "hidden" />
419
407
420
408
return {
421
409
title,
You can’t perform that action at this time.
0 commit comments