Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mermaid处于编辑状态时,下方文本内容上移 #38

Open
WangQuan-cn opened this issue Nov 18, 2020 · 1 comment
Open

mermaid处于编辑状态时,下方文本内容上移 #38

WangQuan-cn opened this issue Nov 18, 2020 · 1 comment

Comments

@WangQuan-cn
Copy link

首先感谢大佬的主题方案。

当光标在mermaid图中,使其处于编辑状态时,下方的内容会上移,导致显示重叠。光标离开mermaid编辑状态时,恢复正常。

切换回默认主题后问题消失。

// 使用~~~代替三个点号演示mermaid
~~~mermaid
graph LR
a --- b --- c
~~~
~~~mermaid
graph LR
d --- e --- f --- g
~~~

image

image

@blinkfox
Copy link
Owner

@WangQuan-cn 试了下,把 vue.css 文件中第 303 行的 margin: 0.8rem 0 !important; 代码去掉 !important; 就行了,即改成:

margin: 0.8rem 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants