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

代码块样式问题 #495

Open
catcoal opened this issue Jan 30, 2024 · 6 comments
Open

代码块样式问题 #495

catcoal opened this issue Jan 30, 2024 · 6 comments

Comments

@catcoal
Copy link

catcoal commented Jan 30, 2024

代码块内容超出,样式bug

image
@catcoal
Copy link
Author

catcoal commented Jan 30, 2024

稍后我将修复此问题

@sunface
Copy link
Owner

sunface commented Jan 30, 2024

macos + chrome 没有发现问题,你那边的环境是啥~

@catcoal
Copy link
Author

catcoal commented Jan 30, 2024

webkit和chromium都有这个问题,好像这个问题出现在中文文档里,英文文档貌似没有
image
image

@catcoal
Copy link
Author

catcoal commented Jan 30, 2024

我提交的修改经测试检查,可以解决这个问题

@h3n4l
Copy link
Contributor

h3n4l commented Feb 3, 2024

BTW, can we remove the first empty line in each code block? It's meaningless.
CleanShot 2024-02-04 at 02 19 46@2x

@ruihusky
Copy link

ruihusky commented Apr 7, 2024

macos + chrome 没有发现问题,你那边的环境是啥~

Win11 + Chrome v123,仅中文页面存在问题。

中英文的样式表存在一些差异:

image

导致上述问题的应该是84~87行的代码。

在Chrome中调试,去掉这一块代码就恢复正常了,也没有出现其他异常,这块样式的作用是什么呢?

image

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

4 participants