Skip to content

Entire Web Page Overflowing on Mobile #4011

@gdaffa

Description

@gdaffa

Summary

Hello i want to report a visual bug in your website. Your web, elementary.io has a weird overflow on low screen size, especially on mobile. This overflow appears on all of your pages on elementary.io, meaning it doesnt appear on your old design on subdomain addresses.

Screenshots

Here is the screenshot on my phone with my language page:

As you can see it has a weird gap on the right of the screen. First i thought it only appear on chrome or just this web page. So i tried multiple solution that might fix the bug but nothing works.

  1. Trying on different localization (elementary.io/en)
  2. Trying on different page (elementary.io/get-involved)
  3. Trying on different browser (Firefox)

Debugging

I have tried to search and fix the problem myself, but i cant find it.

Image

I tried to debug with transparent background thats why its all red, but i cant find the overflowed element. In other hand when i change the selector from html * to html, html * the overflowed section got a little red, this mean its part of the html and not the child element.

Strangly when the viewport is 320px or lower, the overflow is gone, i still cant find what triggers that in css sources section.

Solution

My solution is to add overflow-x: hidden on html/body element, that should fix a lot of problem with overflowing element. Would you like me to make a PR for that?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions