-
Notifications
You must be signed in to change notification settings - Fork 4k
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
nz-table在flex布局里,超出边界 #3604
Comments
Translation of this issue:Nz-table in the flex layout, beyond the boundaryReproduction linkhttps://stackblitz.com/edit/angular-yo2k28 Steps to reproduceCan be seen directly in the replay link What is expected?The nz-table conforms to the flex expectation, and the width is not enough for the scroll bar. What is actually happening?No scroll bar, beyond the border, stretched up flex
|
碰到样式问题,麻烦先去搜css的标准写法,谢谢 |
@liwei511 不知道你想表达的具体意思,所有的web-compoonent的tag都是默认display:inline的,如果你想要100%宽度的话,至少父级需要100%宽度,在父级是一个inline元素下,你使用多少个display:flex也不可能获得你想要的效果 |
@vthinkxie 是我错了,不是width的问题,谢谢 |
@vthinkxie 不好意思,打扰了,stackblitz已更新 |
@liwei511 |
谢谢,我该好好学习css了,多谢 |
Reproduction link
https://stackblitz.com/edit/angular-yo2k28
Steps to reproduce
重现链接里直接可看到
What is expected?
nz-table符合flex预期,宽度不够出现滚动条。
What is actually happening?
没有滚动条,超出了边界,撑大了flex
The text was updated successfully, but these errors were encountered: