Unverified Commit 3e138405 authored by Athurg Gooth's avatar Athurg Gooth Committed by GitHub

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

Remove the max-height limit for single media
parent 0dd0714a
...@@ -62,7 +62,7 @@ const MemoResourceListView = ({ resourceList = [] }: { resourceList: Resource[] ...@@ -62,7 +62,7 @@ const MemoResourceListView = ({ resourceList = [] }: { resourceList: Resource[]
if (resources.length === 1) { if (resources.length === 1) {
return ( 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]} /> <MediaCard resource={mediaResources[0]} />
</div> </div>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment