You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2019/04/22 09:34:31 UTC

[incubator-weex-site] branch master updated: fix: the default value of `flex-direction` (#381)

This is an automated email from the ASF dual-hosted git repository.

kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c055dc  fix: the default value of `flex-direction` (#381)
3c055dc is described below

commit 3c055dcfd6eec46b42c5e7d55915fbd22bc6b294
Author: Postbird <pt...@yeah.net>
AuthorDate: Mon Apr 22 17:33:59 2019 +0800

    fix: the default value of `flex-direction` (#381)
    
    the default value of `flex-direction` in `scroller` is `column`
---
 docs/zh/docs/components/scroller.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/zh/docs/components/scroller.md b/docs/zh/docs/components/scroller.md
index 2d0f64f..ed1e287 100644
--- a/docs/zh/docs/components/scroller.md
+++ b/docs/zh/docs/components/scroller.md
@@ -57,7 +57,7 @@
 
 ::: warning
 `scroll-direction` 定义了 scroller 的滚动方向,样式表属性 `flex-direction` 定义了 scroller 的布局方向,两个方向必须一致。例如:
-  - `scroll-direction` 的默认值是 `vertical`,`flex-direction` 的默认值是 `row`;
+  - `scroll-direction` 的默认值是 `vertical`,`flex-direction` 的默认值是 `column`;
   - 当需要一个水平方向的 scroller 时,使用 `scroll-direction="horizontal"` 和 `flex-direction: row`;
   - 当需要一个竖直方向的 scroller 时,使用 `scroll-direction="vertical"` 和 `flex-direction: column`,由于这两个值均是默认值,当需要一个竖直方向的 scroller 时,这两个值可以不设置。
 :::
@@ -118,4 +118,4 @@
 
 - [聊天窗口](http://dotwe.org/vue/21d8b0a79c20e95139353d9cc8b634f5),页面局部可滚动,底部输入框不可滚动。
 
-  <IPhoneImg imgSrc="https://img.alicdn.com/tfs/TB11_g_n7voK1RjSZPfXXXPKFXa-264-439.gif" />
\ No newline at end of file
+  <IPhoneImg imgSrc="https://img.alicdn.com/tfs/TB11_g_n7voK1RjSZPfXXXPKFXa-264-439.gif" />