News for hackers. Stuff that matters.
Re:Post Mortem: A single whitespace character by kyberias on Monday October 27, 2014 @08:48AM (#8515123)
What's the deal with all the scrollbars on this page?
Re:Post Mortem: A single whitespace character by spindritf on Monday October 27, 2014 @09:14AM (#8515232)
Yeah, why is every image, heading, and paragraph on that page surrounded by scrollbars where most don't work and are not necessary?
Re:Post Mortem: A single whitespace character by ultrafez on Monday October 27, 2014 @09:25AM (#8515283)
In their CSS, they have a rule for every <p> tag to have "overflow: scroll" for some reason. Not sure why they didn't use the default value for overflow, since there's nothing on that page that needs to be specifically told to scroll.
Re:Post Mortem: A single whitespace character by jrockway on Monday October 27, 2014 @09:51AM (#8515397)
Probably, they tried it and it worked.

This incidentally led to the bug that they're blogging about too.

Re:Post Mortem: A single whitespace character by danielsamuels on Monday October 27, 2014 @10:55AM (#8515799)
Yeah, it's likely that they're all using Macs and have never checked their website on a Windows machine.
Re:Post Mortem: A single whitespace character by goleksiak on Monday October 27, 2014 @11:39AM (#8516134)
Yup
Re:Post Mortem: A single whitespace character by goleksiak on Monday October 27, 2014 @09:24AM (#8515276)
What browser are you using? I'm not seeing that here on my devices...? We are using pretty vanilla Bootstrap.
Re:Post Mortem: A single whitespace character by anonymoushn on Monday October 27, 2014 @09:25AM (#8515280)
http://i.imgur.com/v0b1LKC.png

This is what I see in Chrome on OSX.

Re:Post Mortem: A single whitespace character by dceddia on Monday October 27, 2014 @09:56AM (#8515422)
Are your devices Apple devices by any chance?

We had a similar bug reported at work recently, and it turned out that Windows browsers will always show scrollbars but the ones running on OS X/iOS will hide them until you start scrolling.

To turn them on in OS X, go to System Preferences > General and set Show scroll bars to "Always".

Re:Post Mortem: A single whitespace character by ultrafez on Monday October 27, 2014 @09:26AM (#8515285)
The issue is you've got the following CSS on lines 31-33 of blog.css:

body.blog .blog-post p { overflow: scroll; }

Re:Post Mortem: A single whitespace character by chippy on Monday October 27, 2014 @09:23AM (#8515271)
I initially thought that it was because of a single whitespace character... but it's because

p { overflow: scroll; }

Re:Post Mortem: A single whitespace character by goleksiak on Monday October 27, 2014 @09:28AM (#8515299)
Fixed. Thanks.