Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #92 from doras-to/staging
Browse files Browse the repository at this point in the history
fixing bug with icons
  • Loading branch information
trent-gezel committed Dec 27, 2023
2 parents 8de8c64 + bbcdc05 commit ec5770a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/linkspage/LinksButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ const LinksButton: React.FC<Props> = ({ id, text, href, bgColor, textColor, Icon
//@ts-ignore
Icon = (<img src={img} className={"absolute left-4 top-1/2 transform -translate-y-1/2"} style={{ width: 20, height: 20 }} />)
}
} else {
//@ts-ignore
Icon = (<i className={"absolute left-4 top-1/2 transform -translate-y-1/2 " + Icon}></i>)
}
const colorClasses = {
bgColor: `bg-${bgColor}`,
Expand Down

0 comments on commit ec5770a

Please sign in to comment.