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

代码框的上下间隔不同 #53

Closed
wuscloud opened this issue Nov 7, 2017 · 2 comments
Closed

代码框的上下间隔不同 #53

wuscloud opened this issue Nov 7, 2017 · 2 comments

Comments

@wuscloud
Copy link

wuscloud commented Nov 7, 2017

测试

/**

*/

public class Demo {
	public static void main(String[] args) {
		System.out.println("hello vnote !");
	}
}

测试

问题是:
上面的两个"测试"和代码框的间隔距离是不同的

@tamlok
Copy link
Member

tamlok commented Nov 7, 2017

Hi,这个是因为默认的CSS在处理段落的时候,下边距认为设置大一点,所以对于测试这个块,其上边的空白是要比下边的空白少的。目前您可以复制一份默认的default.css,然后把里面的margin-bottom: 24px;删了。后面我会调整一下。谢谢!

@wuscloud
Copy link
Author

wuscloud commented Nov 8, 2017

非常感谢。我试了下,改成margin-bottom: 10px;看起来更好一点

@tamlok tamlok closed this as completed Nov 9, 2017
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