fix: fixed the editable code field offset#455
Open
Runtus wants to merge 2 commits intosunface:masterfrom
Open
Conversation
Owner
|
可能是不同浏览环境导致的?我这边看它都是好的 :D |
Author
|
抱歉,我这目前看到也没问题了,两个月前我看到是有偏移,可能是浏览器问题😂 |
Author
Owner
|
不好意思,处理太晚了,请问现在还有这个问题嘛? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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设置的样式代码相关,可能是为了解决当时的可编辑代码框过窄的问题,但现在我注释掉这个样式设置后,能够让可编辑代码框对齐复原,并且不影响阅读。