mirror of
https://github.com/usememos/memos.git
synced 2025-10-06 12:26:29 +08:00
fix: limit the size of the resource list viewer (#4210)
Limit the size of the file upload box
This commit is contained in:
parent
1c255d4e1f
commit
ce6ad4035d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const ResourceListView = (props: Props) => {
|
|||
<DndContext sensors={sensors} collisionDetection={closestCenter} onDragEnd={handleDragEnd}>
|
||||
<SortableContext items={resourceList.map((resource) => resource.name)} strategy={verticalListSortingStrategy}>
|
||||
{resourceList.length > 0 && (
|
||||
<div className="w-full flex flex-row justify-start flex-wrap gap-2 mt-2">
|
||||
<div className="w-full flex flex-row justify-start flex-wrap gap-2 mt-2 max-h-[50vh] overflow-y-auto">
|
||||
{resourceList.map((resource) => {
|
||||
return (
|
||||
<div
|
||||
|
|
Loading…
Add table
Reference in a new issue