File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
src/components/Staking/StakingConsiderations Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,9 @@ const IndicatorGroup = ({
37
37
return < WarningProductGlyphIcon style = { style } />
38
38
}
39
39
return (
40
- < VStack
41
- spacing = { 2 }
42
- flex = { 1 }
43
- width = { { base : "fit-content" , sm : "max-content" } }
44
- >
40
+ < VStack spacing = { 2 } flex = { 1 } >
45
41
< IndicatorIcon style = { styleObj } />
46
- < Text
47
- fontSize = "xs"
48
- textAlign = "center"
49
- width = { { base : "fit-content" , sm : "max-content" } }
50
- >
42
+ < Text fontSize = "xs" textAlign = "center" maxW = "{40}" >
51
43
< Translation id = { label } />
52
44
</ Text >
53
45
</ VStack >
@@ -78,7 +70,8 @@ const StakingConsiderations = ({ page }: StakingConsiderationsProps) => {
78
70
79
71
const activeStyles = {
80
72
bg : "background.highlight" ,
81
- color : "body.base"
73
+ color : "body.base" ,
74
+ transition : "background 0.5s, color 0.5s"
82
75
}
83
76
84
77
return (
You can’t perform that action at this time.
0 commit comments