4 ms·
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
by billturner 12y 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-application_layout_full_title 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-back_to_the_title_helper http://draft.railstutorial.org/book/rails_flavored_ruby#sec-...
- mhartl 12y agoWeird. 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
- billturner 12y agoWell, 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 http://imgur.com/IIaUiav
- Anjin 12y agoChange has been deployed
- mhartl 12y agoOK, 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.