Skip to content

Don't hide the left sidebar at 76em #39

Open

Description

@lapcat

The left sidebar is hidden at around 76em. This is a relatively large window width even on desktop. Compare my two screenshots.

Screen Shot 2023-05-05 at 1 58 15 PM

Screen Shot 2023-05-05 at 1 58 24 PM

Activity

  1. stwrt commented on May 5, 2023

    @stwrt
    Contributor

    Thanks, I'll need to take look into this. I agree it is a bit over eager with hiding the side bar at large screen sizes.

  2. stwrt commented on May 17, 2023

    @stwrt
    Contributor

    So I spent some time looking over this. This behavior is coming from the framework and I would need to do some investigation about modifying this, and I am not completely sure what we would want to set it to at the moment if we did modify it.

    Just for some context though other major documentation frameworks I looked at start to exhibit similar collapsing behavior between 1000-1280 pixels. MkDocs Material starts collapsing the side bar at 1220 pixels. This is a little on the higher side, but not abnormal.

    Framework px Collapse Sidebar
    Docusaurus ~1000px
    Apple Developer Docs ~1000px
    React Docs ~1024px
    MkDocs Material 1220 px
    Nextra 1280px
    GitHub Docs 1280px

    Numbers not super scientific just looked at the px count in WebInspector

  3. lapcat commented on May 17, 2023

    @lapcat
    Author

    Perhaps the problem is really the dueling document outlines on the left and right sides, which is also kind of confusing.

    The Apple developer docs only have an outline on the left side, and even when the outline is collapsed, the widget in the upper left corner can open it.

    Screen Shot 2023-05-17 at 6 18 36 AM Screen Shot 2023-05-17 at 6 19 00 AM Screen Shot 2023-05-17 at 6 19 06 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions