diff --git a/packages/gatsby-theme-carbon/src/components/markdown/Markdown.module.scss b/packages/gatsby-theme-carbon/src/components/markdown/Markdown.module.scss index d2f169c12..eb8f64f23 100644 --- a/packages/gatsby-theme-carbon/src/components/markdown/Markdown.module.scss +++ b/packages/gatsby-theme-carbon/src/components/markdown/Markdown.module.scss @@ -67,6 +67,11 @@ --space: 0; } +:global(.bx--list--ordered), +ol { + list-style: decimal; +} + :global(.bx--list--ordered:not(.bx--list--nested)) { margin-left: 1ch; } @@ -169,6 +174,14 @@ :global(.container--dark) .blockquote .list-item { color: $carbon--blue-40; } + +:global(.bx--list--ordered:not(.bx--list--nested) > .bx--list__item::before) { + display: none; +} + +:global(.bx--list--ordered:not(.bx--list--nested)) .list-item { + margin-left: 0.5rem; +} //--------------------------------------- // Headings //---------------------------------------