Skip to content

Commit

Permalink
Fix wallet button hover and align items
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 28, 2024
1 parent 98ee336 commit dd5db7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/PoolOverview/KeyMetrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const KeyMetrics = ({ poolId }: Props) => {
<Box marginTop={2}>
{metrics.map(({ metric, value }, index) => {
return (
<Box key={index} display="flex" justifyContent="space-between" paddingY={1}>
<Box key={index} display="flex" justifyContent="space-between" paddingY={1} alignItems="center">
<Text color="textSecondary" variant="body2" textOverflow="ellipsis" whiteSpace="nowrap">
{metric}
</Text>
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/theme/tokens/baseTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const baseTheme: Omit<FabricTheme, 'colors' | 'scheme'> = {
cardActive: ' 0 0 0 1px var(--fabric-focus), 0 1px 5px rgba(0, 0, 0, 0.2)',
cardOverlay: '4px 8px 24px rgba(0, 0, 0, 0.2)',
buttonPrimary: `0px 0px 0px 3px var(--fabric-shadowButtonPrimary)`,
buttonSecondary: `1px 2px 1px var(--fabric-shadowButtonSecondary)`,
buttonSecondary: `0px 0px 0px 3px var(--fabric-shadowButtonSecondary)`,
buttonInverted: `0px 0px 0px 3px var(--fabric-shadowButtonInverted)`,
},
zIndices: {
Expand Down
2 changes: 1 addition & 1 deletion fabric/src/theme/tokens/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const colors = {
borderButtonSecondaryHover: black,
borderButtonSecondaryPressed: black,
borderButtonSecondaryDisabled: 'transparent',
shadowButtonSecondary: 'transparent',
shadowButtonSecondary: grayScale[100],

backgroundButtonTertiary: 'transparent',
backgroundButtonTertiaryFocus: 'transparent',
Expand Down

0 comments on commit dd5db7e

Please sign in to comment.