Skip to content

Compass - all containers should be rendered conditionally if no content passed #12149

@nicolethoen

Description

@nicolethoen

Footer - the footer always renders a div, even if nothing is passed through this prop to Compass. Even if visually empty, this causes an extra grid gap spacing above where the empty footer wrapper is - conditionally removing this if nothing exists would remove the unneeded space. I imagine this same issue would apply if a user didn't use another layout component, such as a sidebar on one side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Ready to assign

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions