Skip to content

Commit

Permalink
Merge pull request #859 from The-Commit-Company/858-videos-should-hav…
Browse files Browse the repository at this point in the history
…e-a-max-height

fix: max height set on videos
  • Loading branch information
nikkothari22 authored Apr 12, 2024
2 parents d3cb771 + f03b68a commit d95748f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const FileMessageBlock = memo(({ message, user, ...props }: FileMessageBl
title="Download"
color='gray'
target='_blank'>{fileName}</Link>
<video src={message.file} controls width='480' className="rounded-md shadow-md">
<video src={message.file} controls className="rounded-md shadow-md max-h-96 max-w-[620px]">

</video>
</Flex> :
Expand Down

0 comments on commit d95748f

Please sign in to comment.