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

Fix empty table placehoder style #4851

Merged
merged 2 commits into from
Feb 15, 2017
Merged

Fix empty table placehoder style #4851

merged 2 commits into from
Feb 15, 2017

Conversation

yesmeck
Copy link
Member

@yesmeck yesmeck commented Feb 13, 2017

  1. Fixed header 的时候"暂无数据"会被遮住;
  2. small 的时候下面会有两条边框。

http://codepen.io/yesmeck/pen/VPqqZR?editors=0010

Before:

before

After:

after

@mention-bot
Copy link

@yesmeck, thanks for your PR! By analyzing the history of the files in this pull request, we identified @afc163, @megawac and @ddcat1115 to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 82.818% when pulling 972df1a on fix-empty-table-style into 1490a40 on master.

@afc163
Copy link
Member

afc163 commented Feb 14, 2017

.ant-table-placeholder 加一个 position: relative; 即可。

@yesmeck
Copy link
Member Author

yesmeck commented Feb 14, 2017

调整了,顺便把边框也调整了下。

@coveralls
Copy link

Coverage Status

Coverage remained the same at 82.3% when pulling a8e8bfa on fix-empty-table-style into 597e020 on master.

@benjycui benjycui merged commit 972c2cf into master Feb 15, 2017
@benjycui benjycui deleted the fix-empty-table-style branch February 15, 2017 04:08
@coljung
Copy link

coljung commented Feb 21, 2017

Out of curiosity, is there a way to modify the placeholder that results in the table when there is no data?

Currently we get this attribute:

<div class="ant-table-placeholder">No Data</div>

I thought there was a way to customize it, but could not find how.

@yesmeck
Copy link
Member Author

yesmeck commented Feb 22, 2017

@coljung See #3822

@coljung
Copy link

coljung commented Feb 22, 2017

thx!

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

Successfully merging this pull request may close these issues.

None yet

6 participants