Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ngminhthanh12a3 opened this issue Dec 21, 2024 · 0 comments

Comments

@ngminhthanh12a3
Copy link

🧐 问题描述 | 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant