Andrey (azangru) wrote,

Thoughtbot is a fairly well-known web consultancy that specialized in Ruby on Rails when it was cool, and are now slowly moving towards greener pastures, with Elixir and Phoenix.

Also, the mobile layout of their website is broken. It might look ok at first blush:

But it scrolls about half the screen width to the right, revealing a lot of empty space:

Yeah, probably not how that was intended to work...

The reason, I was surprised to discover, is because there’s a header element that acquires a negative margin of 50% on small screens, like so:

And it isn't wrapped in an element that would hide the protruding right margin with overflow: hidden.

  • (C)opied from Twitter

    How is it that the society and the government tolerates the blocking of the roads? Those who object to these practices usually employ a variation of…

  • (no subject)

    Saw in a developer's feed. I tried to find what was it exactly that Tucker has said that has upset the twittersphere so. It wasn't easy. Fox,…

  • (C)opied from Twitter

    I don't remember whether I've posted this picture here. A daily reminder of the state of the industry:

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.