Skip to content

Commit

Permalink
fix: Adjust layout for restricted sent image spacing (WPB-4789) (#15861)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisamir98 committed Sep 22, 2023
1 parent 84210d0 commit d19e92f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ const ImageAsset: React.FC<ImageAssetProps> = ({
});

const imageContainerStyle: CSSObject = {
aspectRatio: `${asset.ratio}`,
aspectRatio: isFileSharingReceivingEnabled ? `${asset.ratio}` : undefined,
maxWidth: '100%',
width: asset.width,
maxHeight: '80vh',
Expand Down

0 comments on commit d19e92f

Please sign in to comment.