Adjust top-level fa ChainImg (#8865)
This commit is contained in:
parent
46bfc52721
commit
56542ecaaa
@ -68,7 +68,7 @@ const StyledDiv = styled.div`
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img {
|
||||
.ui--ChainImg {
|
||||
height: 3rem;
|
||||
margin-right: 0.5rem;
|
||||
width: 3rem;
|
||||
|
||||
@ -38,7 +38,7 @@ function ChainImg ({ className = '', isInline, logo, onClick, withoutHl }: Props
|
||||
return [!found || logo === 'empty', img, isFa];
|
||||
}, [logo, specName, systemChain, systemName]);
|
||||
|
||||
const iconClassName = `${className}${(isEmpty && !withoutHl) ? ' highlight--bg' : ''}${isInline ? ' isInline' : ''}`;
|
||||
const iconClassName = `${className} ui--ChainImg ${(isEmpty && !withoutHl) ? 'highlight--bg' : ''} ${isInline ? 'isInline' : ''}`;
|
||||
|
||||
return isFa
|
||||
? (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user