File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
apps/extension/src/pages/main/components Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export const RewardsCard: FunctionComponent<{
4444 return (
4545 < Box
4646 position = "relative"
47+ style = { { flex : 13 } }
4748 backgroundColor = {
4849 isHover
4950 ? theme . mode === "light"
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ const Styles = {
2121 gap: 0.375rem;
2222
2323 justify-content: space-between;
24+
25+ > * {
26+ flex: 1;
27+ }
2428 ` ,
2529} ;
2630
@@ -60,6 +64,7 @@ export const SpendableCard: FunctionComponent<{
6064 borderRadius = "1.5rem"
6165 padding = "1rem"
6266 width = "100%"
67+ style = { { flex : 19 } }
6368 >
6469 < Box >
6570 < Skeleton isNotReady = { isNotReady } verticalBleed = "2px" >
@@ -131,7 +136,11 @@ export const SpendableCard: FunctionComponent<{
131136 < ArrowUpRightIcon
132137 width = "0.625rem"
133138 height = "0.625rem"
134- color = { ColorPalette [ "blue-300" ] }
139+ color = {
140+ theme . mode === "light"
141+ ? ColorPalette [ "blue-400" ]
142+ : ColorPalette [ "blue-300" ]
143+ }
135144 />
136145 }
137146 disabled = { ! hasBalance }
@@ -154,7 +163,11 @@ export const SpendableCard: FunctionComponent<{
154163 < ArrowSwapIcon
155164 width = "1rem"
156165 height = "1rem"
157- color = { ColorPalette [ "blue-300" ] }
166+ color = {
167+ theme . mode === "light"
168+ ? ColorPalette [ "blue-400" ]
169+ : ColorPalette [ "blue-300" ]
170+ }
158171 />
159172 }
160173 disabled = { ! hasBalance }
@@ -189,6 +202,7 @@ const EllipseButton: FunctionComponent<{
189202 opacity : disabled ? 0.5 : isHover ? 0.8 : 1 ,
190203 } }
191204 cursor = { ! disabled ? "pointer" : "not-allowed" }
205+ width = "100%"
192206 onClick = { ( e ) => {
193207 e . preventDefault ( ) ;
194208
@@ -213,6 +227,7 @@ const EllipseButton: FunctionComponent<{
213227 isLightMode ? ColorPalette [ "blue-50" ] : ColorPalette [ "blue-800" ]
214228 }
215229 minWidth = "2.875rem"
230+ width = "100%"
216231 >
217232 { icon }
218233 </ Box >
You can’t perform that action at this time.
0 commit comments