From b18146408a09fc1666e53587a91998a440855316 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Sat, 9 Jul 2022 00:28:11 +0800 Subject: [PATCH] style(console): improve connector readme styles in drawer --- packages/console/src/components/Drawer/index.module.scss | 2 ++ packages/console/src/components/Markdown/index.module.scss | 4 ++++ packages/console/src/pages/ConnectorDetails/index.module.scss | 3 +++ 3 files changed, 9 insertions(+) diff --git a/packages/console/src/components/Drawer/index.module.scss b/packages/console/src/components/Drawer/index.module.scss index 731ae3fef..0875a6d07 100644 --- a/packages/console/src/components/Drawer/index.module.scss +++ b/packages/console/src/components/Drawer/index.module.scss @@ -27,6 +27,8 @@ .body { flex: 1; + display: flex; + flex-direction: column; overflow-y: auto; } } diff --git a/packages/console/src/components/Markdown/index.module.scss b/packages/console/src/components/Markdown/index.module.scss index 3a8ea324b..41f7efdd8 100644 --- a/packages/console/src/components/Markdown/index.module.scss +++ b/packages/console/src/components/Markdown/index.module.scss @@ -55,6 +55,10 @@ font: var(--font-body-medium); margin: _.unit(3) 0; } + + table + table { + margin-top: _.unit(3); + } } .inlineCode { diff --git a/packages/console/src/pages/ConnectorDetails/index.module.scss b/packages/console/src/pages/ConnectorDetails/index.module.scss index ecb00140c..874013fab 100644 --- a/packages/console/src/pages/ConnectorDetails/index.module.scss +++ b/packages/console/src/pages/ConnectorDetails/index.module.scss @@ -96,4 +96,7 @@ .readme { padding: 0 _.unit(6); + margin: _.unit(6); + background-color: var(--color-layer-1); + border-radius: 16px; }