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

启用插件后阅读视图下内嵌文档样式异常 #113

Open
qwqw3qee opened this issue Sep 14, 2024 · 0 comments
Open

启用插件后阅读视图下内嵌文档样式异常 #113

qwqw3qee opened this issue Sep 14, 2024 · 0 comments

Comments

@qwqw3qee
Copy link

未启用插件时,含有内嵌文档的笔记在阅读视图下的显示如下:
image
启用插件后,内嵌文档左侧边距异常
image

我尝试在style.css中,修改第652行代码,将.markdown-preview-view去掉,并将padding-left的值改为2rem后显示正常了(仅针对大纲在左侧的情况,其他情况没进行修改),修改后样式代码如下:

.workspace-leaf-content .floating-toc-div:is(.floating-left,.floating-both)~.markdown-reading-view {
  padding-left: 2rem;
}
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

1 participant