Skip to content

🧐[问题 | question] Unable to set full height of an element of ant-pro-layout-content #11412

Open
@ngminhthanh12a3

Description

🧐 问题描述 | Problem description

Unable to set the full height of an element of ant-pro-layout-content.

I'm trying to set the full height of an element inside the ant-pro-layout-content. But it doesn't work.

My additional content of the global.less to set the full height of the ant-pro-layout-content.

.ant-layout {
  .ant-pro-layout-container {
    .ant-pro-layout-content {
      min-height: 100vh;
    }
  }
}

The results are as follows:

Untitled
image

💻 示例代码 | Sample code

🚑 其他信息 | Other information

OS: Ubuntu 22.04

Node:20.17.0

浏览器 | browser:Microsoft Edge

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions