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

FEATURE: 固定显示底栏后,表格页面会出现双滚动条,希望内容区域能自适应,不要出现外层滚动条 #4614

Open
3 tasks done
yuanhongyu123 opened this issue Oct 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@yuanhongyu123
Copy link

Version

Vben Admin V5

Description

如图,可能需要动态调整这个style? height: calc(var(--vben-content-height) - 0px - 0px);
另外问下,内容区高度自适应方式是使用这种计算高度好,还是通过flex-col +overflow-hidden来实现好?
image

Proposed Solution

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@Zhao-sj
Copy link
Contributor

Zhao-sj commented Oct 11, 2024

import { Page } from '@vben/common-ui';
有一个Page组件,auto-content-height加上就可以了

@Zhao-sj
Copy link
Contributor

Zhao-sj commented Oct 11, 2024

import { Page } from '@vben/common-ui'; 有一个Page组件,auto-content-height加上就可以了

我是把底栏给关掉了,开启底栏好像还是会有双滚动条

@anncwb
Copy link
Collaborator

anncwb commented Oct 16, 2024

duplicate #4575

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

No branches or pull requests

3 participants