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

fix: fixed the editable code field offset #455

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Runtus
Copy link

@Runtus Runtus commented Sep 1, 2023

作者您好,现在中文版教程里无论是线上版本的可编辑代码框(第一张图)还是pull下来本地跑的可编辑代码框(第二张图)都是偏移的,有些偏移会影响代码阅读。
image
image
我发现是您一年前在zh-CN/theme/style1.css设置的样式代码相关,可能是为了解决当时的可编辑代码框过窄的问题,但现在我注释掉这个样式设置后,能够让可编辑代码框对齐复原,并且不影响阅读。

@Runtus Runtus changed the title fix: 修复可编辑代码框偏移的问题 fix: fixed the editable code field offset Sep 1, 2023
@sunface
Copy link
Owner

sunface commented Oct 9, 2023

可能是不同浏览环境导致的?我这边看它都是好的 :D

@Runtus
Copy link
Author

Runtus commented Oct 9, 2023

抱歉,我这目前看到也没问题了,两个月前我看到是有偏移,可能是浏览器问题😂

@Runtus Runtus closed this Oct 9, 2023
@Runtus
Copy link
Author

Runtus commented Oct 9, 2023

作者大大不好意思,我刚刚复现了问题,是中文版文档的markdown有偏移,我这块儿改的也是只是中文版文档的css
image

@Runtus Runtus reopened this Oct 9, 2023
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

Successfully merging this pull request may close these issues.

2 participants