Skip to content

Commit 1fffe0d

Browse files
committed
docs: update grid doc
1 parent 7abdcc6 commit 1fffe0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/grid/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Property | Description | Type | Default |
66
| --- | --- | --- | --- |
77
| align | the vertical alignment of the flex layout: `top` `middle` `bottom` | string | `top` |
8-
| gutter | spacing between grids, could be a number or a object like `{ xs: 8, sm: 16, md: 24}` | number/object | 0 |
8+
| gutter | spacing between grids, could be a number or a object like `{ xs: 8, sm: 16, md: 24}`. or you can use array to make horizontal and vertical spacing work at the same time `[horizontal, vertical]` (supported after `1.5.0`) | number/object/array | 0 |
99
| justify | horizontal arrangement of the flex layout: `start` `end` `center` `space-around` `space-between` | string | `start` |
1010
| type | layout mode, optional `flex`, [browser support](http://caniuse.com/#search=flex) | string | |
1111

components/grid/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| 成员 | 说明 | 类型 | 默认值 |
66
| --- | --- | --- | --- |
77
| align | flex 布局下的垂直对齐方式:`top` `middle` `bottom` | string | `top` |
8-
| gutter | 栅格间隔,可以写成像素值或支持响应式的对象写法 `{ xs: 8, sm: 16, md: 24}` | number/object | 0 |
8+
| gutter | 栅格间隔,可以写成像素值或支持响应式的对象写法来设置水平间隔 `{ xs: 8, sm: 16, md: 24}`。或者使用数组形式同时设置 `[水平间距, 垂直间距]``1.5.0 后支持`)。 | number/object/array | 0 |
99
| justify | flex 布局下的水平排列方式:`start` `end` `center` `space-around` `space-between` | string | `start` |
1010
| type | 布局模式,可选 `flex`[现代浏览器](http://caniuse.com/#search=flex) 下有效 | string | |
1111

0 commit comments

Comments
 (0)