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

关于表格自适应高度,溢出内容内部滚动的问题 #506

Open
xiaoz-work opened this issue Oct 13, 2024 · 1 comment
Open

关于表格自适应高度,溢出内容内部滚动的问题 #506

xiaoz-work opened this issue Oct 13, 2024 · 1 comment

Comments

@xiaoz-work
Copy link

请问是怎么使用 flex 布局达到这个效果的
el-table是必须给父容器或者自身设置高度才能实现内部滚动的
我自己也使用flex布局并设置了 flex-1属性,内容未溢出的情况下能够使表格自适应高度,但只是类似于min-height的效果,溢出内容依然会撑开表格高度,求解答!!!!

@MissYooo
Copy link

MissYooo commented Nov 5, 2024

试试 overflow: hidden;

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

2 participants