diff --git a/src/components/MDXContainer.module.scss b/src/components/MDXContainer.module.scss index 925cdad5e..bc543d28d 100644 --- a/src/components/MDXContainer.module.scss +++ b/src/components/MDXContainer.module.scss @@ -5,10 +5,13 @@ code { padding: 0.125rem; - background: var(--tertiary-background-color); border-radius: 2px; } + :not(pre) > code { + background: var(--tertiary-background-color); + } + p:last-child { margin-bottom: 0; }