Skip to content

"API docs by Redocly" banner at the bottom of the sidebar can obstruct the last item inside the sidebar #2650

Open
@svix-jplatte

Description

@svix-jplatte

Describe the bug

When the browser viewport is not high enough to fit the entire sidebar contents, the last item gets hidden behind the "API docs by Redocly" banner at the bottom of the sidebar.

Expected behavior

All sidebar items should be visible

Screenshots

Image

Additional context

I worked around the issue by including this extra bit of CSS to our site:

redoc ul[role="menu"] {
    /* fix last item being hidden behind the redoc banner on smaller viewports */
    padding-bottom: 32px;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions