Skip to content

Commit

Permalink
fix: fill height when zooming
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Nov 14, 2024
1 parent f32cda6 commit 75e0da2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/renderer/src/components/ui/media/preview-media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ const FallbackableImage: FC<
scale > 1 && !haveSideContent
? `${Math.min(maxContainerWidth / 2, scale * imgWidth)}px`
: undefined,
height: scale > 1 ? "100%" : undefined,
}}
contentClass={wrapperClass}
contentStyle={wrapperStyle}
Expand Down

0 comments on commit 75e0da2

Please sign in to comment.