Skip to content

Commit

Permalink
fix: fixed size image (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban authored Jun 29, 2024
1 parent 9b80525 commit 0060797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/src/components/ui/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const ImageImpl: FC<ImageProps> = ({
onError={errorHandle}
className={cn(
hidden && "hidden",
"size-full bg-stone-100 object-cover",
!(props.width || props.height) && "size-full",
"bg-stone-100 object-cover",
popper && "cursor-zoom-in",
)}
src={imgSrc}
Expand Down

0 comments on commit 0060797

Please sign in to comment.