Skip to content

Commit 8bf8515

Browse files
aibayanyu20zhuzhengjian
and
zhuzhengjian
authored
docs: update grid docs (#6549)
Co-authored-by: zhuzhengjian <[email protected]>
1 parent 0d24755 commit 8bf8515

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: components/grid/index.en-US.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Our grid systems support Flex layout to allow the elements within the parent to
6161
| lg | `≥992px`, could be a `span` value or an object containing above props | number\|object | - |
6262
| xl | `≥1200px`, could be a `span` value or an object containing above props | number\|object | - |
6363
| xxl | `≥1600px`, could be a `span` value or an object containing above props | number\|object | - |
64-
| xxxl | `≥2000px`, could be a `span` value or an object containing above props | number\|object | 3.0 |
64+
65+
You can modify the breakpoints values using by modifying `screen[XS|SM|MD|LG|XL|XXL]` with [theme customization](/docs/vue/customize-theme) (since 4.0.0, [sandbox demo](https://codesandbox.io/s/usebreakpoint-hook-ant-design-vue-4-0-0-beta-4-forked-n2k1sy?file=/src/demo.vue)).
6566

6667
The breakpoints of responsive grid follow [BootStrap 4 media queries rules](https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints)(not including `occasionally part`).

Diff for: components/grid/index.zh-CN.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*DLUwQ4B2_zQAAA
5858
| lg | `≥992px` 响应式栅格,可为栅格数或一个包含其他属性的对象 | number\|object | - | |
5959
| xl | `≥1200px` 响应式栅格,可为栅格数或一个包含其他属性的对象 | number\|object | - | |
6060
| xxl | `≥1600px` 响应式栅格,可为栅格数或一个包含其他属性的对象 | number\|object | - | |
61-
| xxxl | `≥2000px` 响应式栅格,可为栅格数或一个包含其他属性的对象 | number\|object | - | 3.0 |
61+
62+
您可以使用 [主题定制](/docs/vue/customize-theme-cn) 修改 `screen[XS|SM|MD|LG|XL|XXL]` 来修改断点值(自 4.0.0 起,[codesandbox demo](https://codesandbox.io/s/usebreakpoint-hook-ant-design-vue-4-0-0-beta-4-forked-n2k1sy?file=/src/demo.vue))。
6263

6364
响应式栅格的断点扩展自 [BootStrap 4 的规则](https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints)(不包含链接里 `occasionally` 的部分)。

0 commit comments

Comments
 (0)