Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #252 from smartive-education/feature/avatar-2
Browse files Browse the repository at this point in the history
fix(Avatar): bg color
  • Loading branch information
tomschall authored Mar 30, 2023
2 parents b9fcf63 + fd6678d commit 6c083b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface IImageProps {
const Figure = styled.figure.attrs({ className: 'group' })(() => Styles);

const Styles = ({ variant }: IImageProps) => [
variant === 'small' && tw`h-40 w-40 min-w-[40px]`,
variant === 'small' && tw`h-40 w-40 min-w-[40px] bg-none border-0`,
variant === 'medium' && tw`h-[72px] w-[72px] min-w-[72px] border-4`,
variant === 'large' && tw`h-96 w-96 border-4`,
variant === 'xlarge' && tw`h-160 w-160 border-4 min-w-[160px]`,
Expand All @@ -53,7 +53,7 @@ const Styles = ({ variant }: IImageProps) => [
justify-center
items-center
border-slate-200
bg-violet-600
bg-slate-200
rounded-full
cursor-pointer
object-cover
Expand Down

0 comments on commit 6c083b3

Please sign in to comment.