shibro
Show the version of “Nothing scrolls sideways at 320px”

Responsive · SU-170

Nothing scrolls sideways at 320px

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Toolbar nowrap · 4 buttons
  • Toolbar 1 primary + More menu
  • Page width at 320px scrollWidth 540px
  • Table stacked · scrollWidth 320px

What changes

Bad
At a 320px viewport the four-button toolbar and 540px table make the page 540px wide, so it scrolls sideways.audit.js: SU-170 fail: page is 540px wide at a 320px viewport
Good
The toolbar keeps one primary action plus a More menu and the table becomes stacked rows, so the page stays 320px wide.

The rules

  • SU-170

    Nothing scrolls sideways at 320px. At 320 CSS px wide (1280 at 400% zoom) the page never scrolls horizontally. Toolbars collapse to one primary action plus "More", and tables become stacked rows. Wide content that really needs two dimensions (data tables, code, maps, charts) scrolls inside its own container, which has tabindex="0" and a name so keyboard users can scroll it.