Skip to content

Commit

Permalink
Merge pull request #197 from alexandra-stepanova/fix/image-size_fixed
Browse files Browse the repository at this point in the history
fix: logo size fixed
  • Loading branch information
varya authored Jul 6, 2023
2 parents ef4cda7 + 5b4a510 commit 746966c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Widget/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ const Widget = ({
}) => {
const ResolvedImage = () =>
imageSrc ? (
<Image imageSrc={imageSrc} fit="cover" />
<Image imageSrc={imageSrc} fit="contain" />
) : (
<Image fit="cover">{image}</Image>
<Image fit="contain">{image}</Image>
);

return (
Expand Down

0 comments on commit 746966c

Please sign in to comment.