Skip to content

Doc container doesn't stretch full page height any more #7018

Description

@Josh-Cena

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

After beta.18, the doc container doesn't take up the full page height any more.

Reproducible demo

No response

Steps to reproduce

  1. Initialize site
  2. Remove footer (non-critical, but makes the layout take up less height by itself)
  3. Add a doc page without much content. Make sure the sidebar is short enough as well.

Expected behavior

This is the behavior in beta.17:

image

Actual behavior

This is the behavior in beta.18:

image

You can see this in our dogfooding test as well, just not so obvious:

https://docusaurus.io/tests/docs/doc-with-another-sidebar

Your environment

No response

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions