Skip to content

Commit

Permalink
Fix asset icon styles (#1032)
Browse files Browse the repository at this point in the history
* chore: fix asset icon styles

* Create gentle-schools-fetch.md
  • Loading branch information
pietro-maximoff authored Oct 18, 2024
1 parent 78f7f14 commit 952a673
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-schools-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

chore: fix asset icon styles
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.assetLogo svg {
@apply mr-2 w-5 h-5;
@apply mr-2 w-5 h-5 bg-gray-80 rounded-full overflow-hidden;
}

.asset {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,7 @@ export const AssetRenderer: FC<AssetRendererProps> = ({
>
{showAssetLogo && logo && (
<div
className={classNames(
styles.assetLogo,
logoClassName,
'rounded-full overflow-hidden bg-gray-80',
)}
className={classNames(styles.assetLogo, logoClassName)}
dangerouslySetInnerHTML={{ __html: logo }}
/>
)}
Expand Down

0 comments on commit 952a673

Please sign in to comment.