Skip to content

The min-height of the main content does not include footer height in the calculation #1330

@pradeep-gox

Description

@pradeep-gox

I have both header and footer enabled in my documentation.

However, I found that pages have scrollbar even the content is very small. That was due to the min-height calculation

class="min-h-[calc(100vh-var(--ui-header-height))]"

Because of the footer, the page height is = 64px (header) + <100vh - 64px>(main) + 64px (footer). So its always 100vh + 64px.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions