File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,15 @@ const StablecoinsTable = ({
47
47
}
48
48
49
49
return (
50
- < Table
51
- variant = "unstyled"
52
- my = { 8 }
53
- bg = "background.base"
54
- mb = { 8 }
55
- minW = "720px"
56
- >
57
- < Thead bg = "background.highlight" color = "text200" >
58
- < Tr mb = "1px" >
50
+ < Table variant = "unstyled" my = { 8 } bg = "background.base" mb = { 8 } minW = "720px" >
51
+ < Thead bg = "background.highlight" color = "body.medium" >
52
+ < Tr >
59
53
{ columns . map ( ( column , idx ) => (
60
54
< Th
61
55
key = { idx }
62
- py = { 5 }
63
- fontWeight = "bold"
56
+ fontWeight = "bold"
64
57
fontSize = "md"
58
+ verticalAlign = "inherit"
65
59
letterSpacing = "normal"
66
60
>
67
61
{ column }
@@ -90,25 +84,21 @@ const StablecoinsTable = ({
90
84
color = "text"
91
85
_hover = { {
92
86
textDecoration : "none" ,
93
- bg : "background.highlight"
87
+ bg : "background.highlight" ,
94
88
} }
95
89
_focus = { {
96
90
bg : "background.base" ,
97
91
color : "body.base" ,
98
92
} }
99
93
>
100
- < Td >
101
- < Flex align = "center" pt = { 2 } >
94
+ < Td verticalAlign = "middle" >
95
+ < Flex >
102
96
{ image && < Image src = { image } alt = "" me = { 4 } boxSize = { 6 } /> }
103
97
< > { name } </ >
104
98
</ Flex >
105
99
</ Td >
106
- < Td >
107
- < Flex align = "center" pt = { 2 } > { marketCap } </ Flex >
108
- </ Td >
109
- < Td >
110
- < Flex align = "center" pt = { 2 } > { stablecoinsType [ type ] } </ Flex >
111
- </ Td >
100
+ < Td verticalAlign = "middle" > { marketCap } </ Td >
101
+ < Td verticalAlign = "middle" > { stablecoinsType [ type ] } </ Td >
112
102
{ url && (
113
103
< Td textAlign = "end" >
114
104
< ButtonLink to = { url } size = "sm" >
You can’t perform that action at this time.
0 commit comments