Adjust top-level fa ChainImg (#8865)

This commit is contained in:
Jaco 2023-01-23 10:54:14 +02:00 committed by GitHub
parent 46bfc52721
commit 56542ecaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ const StyledDiv = styled.div`
cursor: pointer;
}
img {
.ui--ChainImg {
height: 3rem;
margin-right: 0.5rem;
width: 3rem;

View File

@ -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
? (