fix: fixed the editable code field offset #455
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
作者您好,现在中文版教程里无论是线上版本的可编辑代码框(第一张图)还是pull下来本地跑的可编辑代码框(第二张图)都是偏移的,有些偏移会影响代码阅读。
我发现是您一年前在
zh-CN/theme/style1.css
设置的样式代码相关,可能是为了解决当时的可编辑代码框过窄的问题,但现在我注释掉这个样式设置后,能够让可编辑代码框对齐复原,并且不影响阅读。