Skip to content

Inconsistent padding between sidebar manual lists and listSubPages #202

Open
@dipikabh

Description

@dipikabh

What information was incorrect, unhelpful, or incomplete?

Sidebar list items have padding-left: .5rem; when listSubPages is used in the sidebar YAML.

In contrast, there's no padding when the items are manually ordered (this is what's live on the website at the moment https://developer.mozilla.org/en-US/docs/Web/HTML).

Padding when using listSubPages No padding when ordering manually
sidebar-bug-padding-listsubpages sidebar-bug-padding-manual

What did you expect to see?

Same or no padding irrespective of the method used to generate the sidebar list items

Do you have any supporting links, references, or citations?

Check out this demo commit that uses type: listSubPages to view the padding in action: dipikabh/content@dea9711.

Do you have anything more you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions