Unverified Commit ce6ad403 authored by RoccoSmit's avatar RoccoSmit Committed by GitHub

fix: limit the size of the resource list viewer (#4210)

Limit the size of the file upload box
parent 1c255d4e
......@@ -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
......
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