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: 解决代码过长时会超出界面的问题 #46

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

Conversation

AnthemLights64
Copy link

当markdown预览器中的代码段过长时,会超出页面且不显示横向滚动条。
复现方法:新建聊天室,输入“用一行代码实现快速排序”。
解决:给父容器设置flex属性,且最大宽度为100%

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.

None yet

1 participant