From cb84fe0bd0fb20e86417768b0690d191cfb7c275 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Thu, 1 Sep 2022 19:34:29 +0200 Subject: [PATCH] fix graph overflow --- gatsby-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 3406178..3bdd5c1 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -18,7 +18,7 @@ module.exports = { options: { plugins: [ 'gatsby-remark-smartypants', - { resolve: 'gatsby-remark-mermaid', options: { theme: "dark", } }, + { resolve: 'gatsby-remark-mermaid', options: { theme: "dark", mermaidOptions: { themeCSS: ".mermaid foreignObject {overflow: visible;}" } } }, { resolve: 'gatsby-remark-prismjs', options: { showLineNumbers: false, } }, ] } @@ -28,4 +28,4 @@ module.exports = { { resolve: 'gatsby-plugin-manifest', options: require("./manifest") }, { resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: require("./metadata").siteUrl } }, ] -}; \ No newline at end of file +};