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

关于屏幕有缩小到355px下code超宽导致页面显示问题 #66

Open
pplokijuhyg opened this issue Feb 22, 2020 · 1 comment
Open

Comments

@pplokijuhyg
Copy link
Contributor

image
缩小到355以下时页面显示出现问题,会左右隐藏一部分,检查是pre标签超宽,然后带动替他元素,超出部分会被隐藏。
暂时解决办法,在文章页添加样式
.article-main >>> .hljs {
max-width: 90vw;
}
这种拙劣的方法就不提交push request了,作者大大可能有更好的方式解决

@zhouyize
Copy link

我感觉是这个由于文章页下方本文链接和版权声明内容超长溢出引起的我试着加了给p标签加了word-break属性就好了。

.license-wrap > p {
word-break: break-all;
}

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

2 participants