Skip to content

Commit

Permalink
fix(app): fix icon component (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperKoza343 authored Aug 22, 2024
1 parent dec05eb commit 1709815
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
display: flex;
gap: 16px;
height: 90px;
&__icon {
width: 65px;
display: flex;
justify-content: center;
align-items: center;
}
img {
transform: translateY(17%);
width: 130px;
height: 130px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ const ShadowIcon: FC<{ className?: string; title?: string; img: string }> = ({
}) => {
return (
<div className={clsx('shadow-icon', className)}>
<div className='shadow-icon__icon'>

<img src={img} alt="logo" />
</div>
<span>{title}</span>
</div>
);
Expand Down

0 comments on commit 1709815

Please sign in to comment.