diff --git a/src/scss/custom.scss b/src/scss/custom.scss index ad2d32611b9..7b546423bb9 100644 --- a/src/scss/custom.scss +++ b/src/scss/custom.scss @@ -809,7 +809,7 @@ table { } html[data-theme='dark'] { - .alert pre code { + .alert pre { background-color: #181132; } } diff --git a/src/theme/Admonition/Layout/styles.module.css b/src/theme/Admonition/Layout/styles.module.css index dc933781f66..e69eb729a2e 100644 --- a/src/theme/Admonition/Layout/styles.module.css +++ b/src/theme/Admonition/Layout/styles.module.css @@ -36,6 +36,7 @@ .content { display: inline-block; + width: 100%; > p:first-of-type { display: inline; diff --git a/src/theme/CodeBlock/Content/String.tsx b/src/theme/CodeBlock/Content/String.tsx index f55d4e90230..b9edd1cda5b 100644 --- a/src/theme/CodeBlock/Content/String.tsx +++ b/src/theme/CodeBlock/Content/String.tsx @@ -68,13 +68,12 @@ export default function CodeBlockString({ {title &&