From 05399b5e594c0af591eadeb017af073cc9b9edcc Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Thu, 30 Jun 2022 15:37:30 +0800 Subject: [PATCH] fix(console): connector guide setup content should scroll in the whole container (#1314) --- .../pages/Connectors/components/Guide/index.module.scss | 7 +++++-- .../src/pages/Connectors/components/Guide/index.tsx | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/console/src/pages/Connectors/components/Guide/index.module.scss b/packages/console/src/pages/Connectors/components/Guide/index.module.scss index e06cb5628..410ae5967 100644 --- a/packages/console/src/pages/Connectors/components/Guide/index.module.scss +++ b/packages/console/src/pages/Connectors/components/Guide/index.module.scss @@ -32,11 +32,9 @@ flex: 1; display: flex; overflow: hidden; - padding: _.unit(6) _.unit(15); > * { flex: 1; - margin: 0 12px; overflow-y: auto; } @@ -44,6 +42,11 @@ background-color: var(--color-layer-1); border-radius: 16px; padding: 0 _.unit(6); + margin: _.unit(6) _.unit(10) _.unit(6) _.unit(18); + } + + .setup { + padding: _.unit(6) _.unit(18) _.unit(6) 0; } form + div { diff --git a/packages/console/src/pages/Connectors/components/Guide/index.tsx b/packages/console/src/pages/Connectors/components/Guide/index.tsx index dc19277b9..732918125 100644 --- a/packages/console/src/pages/Connectors/components/Guide/index.tsx +++ b/packages/console/src/pages/Connectors/components/Guide/index.tsx @@ -92,7 +92,7 @@ const Guide = ({ connector, onClose }: Props) => {
{readme} -
+