From 8143bd819c469afe159eb004f03720b480a5ab67 Mon Sep 17 00:00:00 2001 From: watonyweng Date: Fri, 17 Sep 2021 11:50:15 +0800 Subject: [PATCH 1/2] docs(cn): translate utilities/grid.md --- utilities/grid.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/utilities/grid.md b/utilities/grid.md index 70fb671d..556f3e42 100644 --- a/utilities/grid.md +++ b/utilities/grid.md @@ -2,7 +2,7 @@ ## Grid -Use `grid` to create a grid container. +使用 `grid` 创建一个网格容器。 -You can customize the global spacing scale in the theme.spacing or theme.extend.spacing sections of your windi.config.js file: +你可以使用 theme.spacing 或者 theme.extend.spacing 来自定义全局间隔比例,配置项如下: ```js windi.config.js export default { @@ -546,7 +546,7 @@ export default { } ``` -To customize the gap scale separately, use the gap section of your Tailwind theme config. +在 Tailwind 主题配置中使用 gap 来自定义间隔,配置如下。 ```js windi.config.js export default { @@ -564,7 +564,7 @@ export default { ## Gap X -Utilities for controlling gutters between grid columns. +用于控制网格列间隔的工具类。 Date: Sun, 19 Sep 2021 15:55:44 +0800 Subject: [PATCH 2/2] docs(cn): enhance utilities/grid.md --- utilities/grid.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/grid.md b/utilities/grid.md index 556f3e42..6b05c60b 100644 --- a/utilities/grid.md +++ b/utilities/grid.md @@ -227,7 +227,7 @@ export default { ## Grid Column Start -用于控制网格元素开始跨列的工具类。该工具类通过 [col-start](#grid-column-start) 或者 [col-span](#grid-column-span) 来指定跨列的数量。 +用于控制网格元素开始跨列的工具类。该工具类通过 [col-end](#grid-column-end) 或者 [col-span](#grid-column-span) 来指定跨列的数量。