Hacker News new | ask | show | jobs
by billturner 4307 days ago
I totally agree with chollida1. This is always the first tutorial I point people at.

Is it possible to add "overflow: scroll" to the code sample blocks' CSS? I get a few characters flow down to the next line which is a bit ugly. A couple of examples:

http://draft.railstutorial.org/book/rails_flavored_ruby#code...

first code block here (with a wrapped "g"): http://draft.railstutorial.org/book/rails_flavored_ruby#sec-...

3 comments

Weird. Those code blocks look fine locally, so that's a bug. Will fix ASAP.

UPDATE: They actually look fine in Chrome, but not in Firefox! I'm digging into it now.

UPDATE 2: Looks like it's working now

Well, that's odd. They have the wrapped characters in Mac Chrome for me, but not in FF.

Another comment says change deployed but they're still off in Chrome on Mac (even with a forced/shift reload): http://imgur.com/IIaUiav

OK, it's working now on my end. (The trick was changing the font size on code blocks from "85%" to "84%".) Let me know if you still run into any issues.
Change has been deployed