From f80bd9f8cb4adfe163c9ebe888067e742a2be8b6 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Wed, 29 Jun 2022 10:34:29 +0800 Subject: [PATCH] style(console): improve link and bullet styles in guide and readme --- .../src/components/Markdown/index.module.scss | 1 + .../src/mdx-components/Step/index.module.scss | 32 +++++++++++++++---- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/packages/console/src/components/Markdown/index.module.scss b/packages/console/src/components/Markdown/index.module.scss index 0792389b3..4c7da7f10 100644 --- a/packages/console/src/components/Markdown/index.module.scss +++ b/packages/console/src/components/Markdown/index.module.scss @@ -33,6 +33,7 @@ a { font: var(--font-body-medium); color: var(--color-text-link); + text-decoration: none; } h1 { diff --git a/packages/console/src/mdx-components/Step/index.module.scss b/packages/console/src/mdx-components/Step/index.module.scss index d2fc229fe..2d6d6c856 100644 --- a/packages/console/src/mdx-components/Step/index.module.scss +++ b/packages/console/src/mdx-components/Step/index.module.scss @@ -38,19 +38,39 @@ } } - ul { - padding-inline-start: 1ch; + li { + font: var(--font-body-medium); + + ul, + ol { + padding-inline-start: 1ch; + } } - li { - list-style-type: '-'; - margin-block-end: _.unit(6); - padding-inline-start: _.unit(1.5); + ul { + padding-inline-start: 4ch; + + > li { + margin-block-start: _.unit(2); + margin-block-end: _.unit(2); + padding-inline-start: _.unit(1); + } + } + + ol { + padding-inline-start: 2ch; + + > li { + margin-block-start: _.unit(3); + margin-block-end: _.unit(3); + padding-inline-start: _.unit(1); + } } a { font: var(--font-body-medium); color: var(--color-text-link); + text-decoration: none; } h3 {