File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
src/components/Staking/StakingConsiderations Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
- import { List , ListItem } from "@chakra- ui/react "
1
+ import { List , ListItem } from "@/components/ ui/list "
2
2
import { VStack , Flex } from "@/components/ui/flex"
3
3
4
4
import type { StakingPage } from "@/lib/types"
@@ -76,7 +76,7 @@ const StakingConsiderations = ({ page }: StakingConsiderationsProps) => {
76
76
{ /* TODO: Improve a11y */ }
77
77
< div className = "hidden flex-1 md:block" >
78
78
{ ! ! pageData && (
79
- < List m = { 0 } >
79
+ < List className = "m-0" >
80
80
{ /* TODO: Make mobile responsive */ }
81
81
{ pageData . map ( ( { title, matomo } , idx ) => (
82
82
< ListItem
@@ -85,15 +85,7 @@ const StakingConsiderations = ({ page }: StakingConsiderationsProps) => {
85
85
handleSelection ( idx )
86
86
trackCustomEvent ( matomo )
87
87
} }
88
- py = { 1 }
89
- cursor = "pointer"
90
- display = "table"
91
- w = "full"
92
- h = { 8 }
93
- p = "3"
94
- mb = "0"
95
- _hover = { activeStyles }
96
- position = "relative"
88
+ className = { `relative mb-0 table h-8 w-full cursor-pointer p-3 py-1 hover:[${ activeStyles } ]` }
97
89
{ ...( idx === activeIndex
98
90
? activeStyles
99
91
: { color : "primary.base" } ) }
You can’t perform that action at this time.
0 commit comments