Skip to content

Commit 1d7683c

Browse files
committed
VitePress: 为页面直接渲染的 mermaid 修改光标以提示用户可缩放
1 parent 0605523 commit 1d7683c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.vitepress/theme/style/vitepress-plugin-mermaid.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@
1717
text-align: center !important;
1818
box-sizing: border-box;
1919
}
20+
21+
.vp-doc .mermaid svg {
22+
cursor: zoom-in;
23+
}

0 commit comments

Comments
 (0)