From 6f84f925aa1349699d8acb52ad10b326c33bad6c Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 23 Aug 2021 12:05:37 +0800 Subject: [PATCH] kanban auto scroll --- packages/client/src/schemas/kanban/index.tsx | 1 + packages/client/src/schemas/kanban/style.less | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/client/src/schemas/kanban/index.tsx b/packages/client/src/schemas/kanban/index.tsx index b184685de..31e7ed73b 100644 --- a/packages/client/src/schemas/kanban/index.tsx +++ b/packages/client/src/schemas/kanban/index.tsx @@ -214,6 +214,7 @@ const InternalKanban = observer((props: any) => { value={{ field, resource, service, schemas, props }} > { const el = event?.active?.data?.current?.nodeRef diff --git a/packages/client/src/schemas/kanban/style.less b/packages/client/src/schemas/kanban/style.less index 67722226d..2351e9058 100644 --- a/packages/client/src/schemas/kanban/style.less +++ b/packages/client/src/schemas/kanban/style.less @@ -14,6 +14,8 @@ background: #f9f9f9; margin-right: 12px; padding: 12px; + height: 60vh; + overflow: auto; } .nb-kanban-item {