SiteLint

  1. Home
  2. Docs
  3. SiteLint
  4. Quality Rules
  5. content-wider-than-screen

content-wider-than-screen

Print this article

Description

The rule detects if the content is wider than the viewport, which causes the horizontal scrollbar.

How to fix it

  • Make sure that the width of the content is less than or at least equal to the width of the viewport.
  • Use bookmarklet Overflow to determine elements wider than available viewport width.

Standard

Quality, Best Practice, SiteLint

Was this article helpful to you? Yes No