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

Don't wrap the overflow code #15

Closed
hooting opened this issue Nov 9, 2015 · 3 comments
Closed

Don't wrap the overflow code #15

hooting opened this issue Nov 9, 2015 · 3 comments

Comments

@hooting
Copy link

hooting commented Nov 9, 2015

我不是很懂模板的设计,想问一下,当一行代码的长度超过宽度时,使用滚动条显示,而不是自动换行。自动换行在有些情况下会很丑。

image

@MrFuFuFu
Copy link

好问题!

@Huxpro
Copy link
Owner

Huxpro commented Nov 16, 2015

@hooting @MrFuFuFu

Problem solved! COMMIT - improve code>pre style to fixed issue#15

Now, all <code> block is self-adaptive to the max-width of the code, which display a scroll-bar when overflow and never wrap!

But, still, do not write too much code in one line ;)

@Huxpro Huxpro closed this as completed Nov 16, 2015
@Huxpro Huxpro changed the title 代码显示问题 Don't wrap the overflow code Nov 16, 2015
MrFuFuFu added a commit to MrFuFuFu/mrfufufu.github.io that referenced this issue Nov 16, 2015
@MrFuFuFu
Copy link

cool, I've updated your modified code. very thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants