Skip to content

Commit

Permalink
clean up document
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Feb 22, 2017
1 parent 0caefc8 commit 90699b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions components/table/demo/fixed-columns-header.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ title:

> 若列头与内容不对齐,请指定列的宽度 `width`
> 建议指定 `scroll.x` 为大于表格宽度的固定值。注意,且非固定列宽度之和不要超过 `scroll.x`
> 如果希望 `scroll.x` 为自适应内容宽度,可以指定 `scroll={{ x: true }}`。注意不要设置滚动区域单元格内容的宽度,并指定 `white-space: nowrap` 样式强制其不自动换行。
> 建议指定 `scroll.x` 为大于表格宽度的固定值或百分比。注意,且非固定列宽度之和不要超过 `scroll.x`
## en-US

Expand All @@ -23,8 +21,6 @@ A Solution for displaying large amounts of data with long columns.
> A fixed value which is greater than table width for `scroll.x` is recommended. The sum of unfixed columns should not greater than `scroll.x`.
> If you hope the `scroll.x` will adapt content's witdh, you can set `scroll={{ x: true }}`. Then use css `white-space: nowrap` to make sure the content of table cell inside scrollable area will not be wrapped.
````jsx
import { Table } from 'antd';

Expand Down
6 changes: 1 addition & 5 deletions components/table/demo/fixed-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ title:

> 若列头与内容不对齐,请指定列的宽度 `width`
> 建议指定 `scroll.x` 为大于表格宽度的固定值。注意,且非固定列宽度之和不要超过 `scroll.x`
> 如果希望 `scroll.x` 为自适应内容宽度,可以指定 `scroll={{ x: true }}`。注意不要设置滚动区域单元格内容的宽度,并指定 `white-space: nowrap` 样式强制其不自动换行。
> 建议指定 `scroll.x` 为大于表格宽度的固定值或百分比。注意,且非固定列宽度之和不要超过 `scroll.x`
## en-US

Expand All @@ -23,8 +21,6 @@ To fix some columns and scroll inside other columns, and you must set `scoll.x`
> A fixed value which is greater than table width for `scroll.x` is recommended. The sum of unfixed columns should not greater than `scroll.x`.
> If you hope the `scroll.x` will adapt content's witdh, you can set `scroll={{ x: true }}`. Then use css `white-space: nowrap` to make sure the content of table cell inside scrollable area will not be wrapped.
````jsx
import { Table } from 'antd';

Expand Down

0 comments on commit 90699b0

Please sign in to comment.