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

nz-table 中 [nzBordered]="true" 时 .ant-table-placeholder 左右border未生效 #4439

Closed
AutoFt opened this issue Nov 18, 2019 · 2 comments
Assignees

Comments

@AutoFt
Copy link

AutoFt commented Nov 18, 2019

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-9afwzd

Steps to reproduce

[nzBordered]="true" ,
[nzData] = []

What is expected?

.ant-table-placeholder 拥有左右边框

What is actually happening?

.ant-table-placeholder 左右边框未生效

Environment Info
ng-zorro-antd 8.5.0
Browser google chrome

查看源码发现原因是.ant-table-empty添加在了错误位置。

@zorro-bot
Copy link

zorro-bot bot commented Nov 18, 2019

Translation of this issue:

nz-table when [nzBordered] = "true" about .ant-table-placeholder border Ineffective

Reproduction link

[Https://ng-zorro-antd-start-9afwzd.stackblitz.io] (https://ng-zorro-antd-start-9afwzd.stackblitz.io)

Steps to reproduce

[NzBordered] = "true",
[NzData] = []

What is expected?

 .ant-table-placeholder has about border

What is actually happening?

 .ant-table-placeholder around the border is not in effect

Environment Info
Ng-zorro-antd 8.5.0
Browser google chrome

View source discovery because .ant-table-empty added in the wrong position.

@vthinkxie
Copy link
Member

https://ng.ant.design/version/next
该问题在最新版本已经被修复,如果仍然有问题可以提出新issue

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

No branches or pull requests

2 participants