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

代码块和代码行数没有对齐的问题 #18

Open
medmin opened this issue Apr 3, 2018 · 2 comments
Open

代码块和代码行数没有对齐的问题 #18

medmin opened this issue Apr 3, 2018 · 2 comments

Comments

@medmin
Copy link

medmin commented Apr 3, 2018

http://www.imoly.club/2016/01/05/get-started-with-electron-in-30-min/

以此为例,在打开开发者工具这下面的代码块和代码行数没有对齐。

您的好几篇文章都出现这种情况,不知道是什么原因?

这个主题挺好,打算试试。

请作者有空检查一下。

@levblanc
Copy link
Owner

levblanc commented Apr 4, 2018

你是指下面这个情况么?

image

我记得是跟代码块前后的空行有关,并不是样式问题。
像截图的这里,代码块的前后,我是调整到没办法,只能这样了。
其它的块还是ok的。

@medmin
Copy link
Author

medmin commented Apr 4, 2018

@levblanc 是,就是这意思。

不过有时候CSS确实就是比较玄学。我也经常遇到问题。

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