From 1b736767ee2f78657c06d1c99b0e402bdde605be Mon Sep 17 00:00:00 2001 From: ezm2ng Date: Tue, 14 Jun 2022 01:56:36 +0900 Subject: [PATCH] fix: In the case of a large diagram, narrowing the display width of the screen causes unnecessary margins at the top and bottom. --- package.json | 3 +++ page.css | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 page.css diff --git a/package.json b/package.json index 826491a..ac28c4d 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,9 @@ "markdown.previewScripts": [ "./page.bundle.js" ], + "markdown.previewStyles": [ + "./page.css" + ], "markdown.markdownItPlugins": true }, "dependencies": { diff --git a/page.css b/page.css new file mode 100644 index 0000000..69ef118 --- /dev/null +++ b/page.css @@ -0,0 +1,3 @@ +.mermaid > svg { + height: auto; +}