diff --git a/packages/embla-carousel-docs/src/components/Mdx/Styles/code.ts b/packages/embla-carousel-docs/src/components/Mdx/Styles/code.ts index 13f9ba77b..8a2f48da6 100644 --- a/packages/embla-carousel-docs/src/components/Mdx/Styles/code.ts +++ b/packages/embla-carousel-docs/src/components/Mdx/Styles/code.ts @@ -32,6 +32,12 @@ export const codeStyles = css` border-color: ${COLORS.DETAIL_MEDIUM_CONTRAST}; } + ${AdmonitionWrapper} .${PRISM_HIGHLIGHT_CLASS_NAME} { + display: inline-grid; + margin: 0; + width: 100%; + } + .${PRISM_HIGHLIGHT_CLASS_NAME} { ${pageFrameCollapseStyles}; position: relative;