diff --git a/packages/website/docs/.vitepress/theme/components/Examples/BlockNote/ReactBlockNote.module.css b/packages/website/docs/.vitepress/theme/components/Examples/BlockNote/ReactBlockNote.module.css index 839b9c96c1..9e8b056484 100644 --- a/packages/website/docs/.vitepress/theme/components/Examples/BlockNote/ReactBlockNote.module.css +++ b/packages/website/docs/.vitepress/theme/components/Examples/BlockNote/ReactBlockNote.module.css @@ -2,3 +2,24 @@ background: transparent !important; height: 500px; } + +/* From Vitepress base styles, to overwrite Mantine globals */ +body { + margin: 0; + width: 100%; + min-width: 320px; + min-height: 100vh; + line-height: 24px; + font-family: var(--vp-font-family-base); + font-size: 16px; + font-weight: 400; + color: var(--vp-c-text-1); + background-color: var(--vp-c-bg); + direction: ltr; + font-synthesis: style; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + + diff --git a/packages/website/docs/demoUtils.ts b/packages/website/docs/demoUtils.ts index 63e67e066f..b0b39153dd 100644 --- a/packages/website/docs/demoUtils.ts +++ b/packages/website/docs/demoUtils.ts @@ -14,5 +14,5 @@ export const getStyles = (isDark: Ref): string => `body { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; - background-color: ${isDark ? "#151515" : "white"}; + background-color: ${isDark ? "#151515" : "white"} !important; }`;