chore: remove the max height limit for single media (#2545)

Remove the max-height limit for single media
This commit is contained in:
Athurg Gooth 2023-11-23 09:59:33 +08:00 committed by GitHub
parent 0dd0714ad0
commit 3e138405b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ const MemoResourceListView = ({ resourceList = [] }: { resourceList: Resource[]
if (resources.length === 1) {
return (
<div className="mt-2 max-w-full max-h-72 flex justify-center items-center border dark:border-zinc-800 rounded overflow-hidden hide-scrollbar hover:shadow-md">
<div className="mt-2 max-w-full flex justify-center items-center border dark:border-zinc-800 rounded overflow-hidden hide-scrollbar hover:shadow-md">
<MediaCard resource={mediaResources[0]} />
</div>
);