fix: fill height when zooming

This commit is contained in:
Stephen Zhou
2024-11-14 13:07:53 +08:00
parent f32cda6240
commit 75e0da2a86
@@ -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}