mirror of
https://github.com/usememos/memos.git
synced 2024-09-20 22:46:16 +08:00
chore: remove the max height limit for single media (#2545)
Remove the max-height limit for single media
This commit is contained in:
parent
0dd0714ad0
commit
3e138405b3
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue