Andrey (azangru) wrote,
Andrey
azangru

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.
Subscribe

  • (no subject)

    Someone's comment on Twitter reminded me how differently we interpret what we experience: My impression from that interview was that Yuri was…

  • (no subject)

    Via Twitter. From the book The Gray Lady Winked, photographed by Michael Shermer: Here's the tweet that the paragraph references (took a while…

  • (no subject)

    To unscramble an egg, by the way, would be a closer idiomatic parallel to ungrinding ground meat, and in spite of Julia Ioffe, is just as dark, blunt…

  • Post a new comment

    Error

    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.
  • 0 comments