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

允许调整左右上下边距 #57

Open
calmwaves111 opened this issue Sep 20, 2024 · 6 comments
Open

允许调整左右上下边距 #57

calmwaves111 opened this issue Sep 20, 2024 · 6 comments

Comments

@calmwaves111
Copy link

现在左右上下边距是固定的改不了
最重要的问题是左右边距不对称,看得好难受

@zhouhua
Copy link
Owner

zhouhua commented Sep 20, 2024

导出图片的样式是沿用阅读模式的样式,与主题等设置有关。你在阅读模式看左右边距是对称的吗?

@calmwaves111
Copy link
Author

啊我发现确实,我ob界面里也是左边边距窄,右边边距宽
是默认主题,也没有自定义的css
是安卓手机上,最新public版ob

@calmwaves111
Copy link
Author

calmwaves111 commented Sep 20, 2024

image
不知道为什么,左右边距就是不一样,而且我看了一下css,明明相关的css变量都是对称的

image

改这个padding,能看到边距发生了变化,但是还是左边比右边窄

@cc1477
Copy link

cc1477 commented Sep 21, 2024

老哥解决了吗我也是这样,如果改了图片高度的话更加明显同 Android Obsidian

@calmwaves111
Copy link
Author

其实电脑上也是这样,有一个很扯的办法就是给左边的padding数值增大,让它强行看起来对称

@zhouhua
Copy link
Owner

zhouhua commented Dec 9, 2024

如果在意这个问题,可以添加一个自定义 css:

.markdown-preview-view {
  text-align: justify;
  hyphens: auto;
}

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

3 participants