mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
Multichain explorer: add border to portfolio card (#3333)
Resolves #3321
This commit is contained in:
@@ -46,11 +46,11 @@ const MultichainAddressPortfolioCard = ({ chain, value, share, isLoading, isSele
|
||||
w={ cardWidth }
|
||||
borderRadius="base"
|
||||
border="1px solid"
|
||||
borderColor={ isSelected ? 'transparent' : 'border.divider' }
|
||||
borderColor={{ _light: 'blackAlpha.100', _dark: 'whiteAlpha.200' }}
|
||||
textStyle="xs"
|
||||
bgColor={ isSelected ? 'selected.control.bg' : 'transparent' }
|
||||
opacity={ !isSelected && !noneIsSelected ? 0.5 : 1 }
|
||||
_hover={ onClick ? {
|
||||
_hover={ onClick && !isLoading ? {
|
||||
borderColor: 'hover',
|
||||
opacity: 1,
|
||||
} : undefined }
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Reference in New Issue
Block a user