Skip to content

docs site layout bug #5623

@goyalyashpal

Description

@goyalyashpal

I was browsing https://docs.helix-editor.com/install.html on my mobile whose resolution is pretty high, the screenshot's width says it's 1080px.

  • I noticed that the content i.e. under the <main> tag is scrolling sideways but the general buttons outside are not scrolling.
  • I was able to reproduce this bug in the desktop browser in developer tools using "device toolbar (C-S-m)" when the width drops below 394 px.

The css corresponding to that <main> tag is this one, though i ain't sure that it's the offending one.

.content main {
margin-left: auto;
margin-right: auto;
max-width: var(--content-max-width);
}

Screen records:

Mobile phone:

doc_2023-01-22.mp4

Desktop web dev/inspection tools:

helix.docs.general.css.bug.vivaldi_RP7pM3W1UR.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documentationArea: Documentation improvementsC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions