zachleat’s avatarzachleat’s Twitter Archive—№ 23,192

      1. using <div style="width: 100vw"> on Chrome in Windows in the year of our lorde 2018 causes a horizontal scrollbar when a vertical scrollbar is present 😐 I was fixing bugs like these 10 years ago 😎 jsbin.com/tolufi/edit?html,output
    1. …in reply to @zachleat
      Although @toddmparker found this lovely CSS-only solution to the issue: stackoverflow.com/a/34884924/16711 calc(100vw - (100vw - 100%)) gives you the width without the scrollbar. Neat.
  1. …in reply to @zachleat
    For posterity’s sake, I’ve reproduced this horizontal scrollbar bug in Windows 10 on Edge 17, Firefox 63, and Chrome 70. I do not like it, Sam I Am.