This is an automated email from the ASF dual-hosted git repository.
moshen 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 e871ddb Update for overflow change.
e871ddb is described below
commit e871ddbb252fcf09069b51b23dc4cc9204401276
Author: wqyfavor <[email protected]>
AuthorDate: Wed Jun 12 10:30:27 2019 +0800
Update for overflow change.
---
docs/docs/styles/common-styles.md | 2 +-
docs/zh/docs/styles/common-styles.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/docs/styles/common-styles.md
b/docs/docs/styles/common-styles.md
index 71150b8..a4234fb 100644
--- a/docs/docs/styles/common-styles.md
+++ b/docs/docs/styles/common-styles.md
@@ -23,7 +23,7 @@ Weex only supports `box-sizing:border-box`, in which box size
includes `content`
::: warning
* On Android, Weex only supports `overflow:hidden`.
-* On iOS, before version 0.24, Weex behaves the same as browser, so overflow
is visible by default. From 0.25, overflow on iOS is hidden by default. And
`overflow` is ignored on iOS. You should use 'ios-overflow' to set overflow
value on iOS. Please refer to this
[Demo](http://editor.weex.io/vue/5033e82e4341472a4a218ca3bd8ca7f3)
+* On iOS, before version 0.24, Weex behaves the same as browser, so overflow
is visible by default. From 0.25, overflow on iOS is hidden by default. And
`overflow` is ignored on iOS. You should use 'ios-overflow' to set overflow
value on iOS. Please refer to this
[Demo](http://editor.weex.io/vue/13268ebfd31d8a3ef28bb6d88fa461d3)
:::
The following code snippets shows the basic usage of box model
diff --git a/docs/zh/docs/styles/common-styles.md
b/docs/zh/docs/styles/common-styles.md
index fe10f38..9d524b1 100644
--- a/docs/zh/docs/styles/common-styles.md
+++ b/docs/zh/docs/styles/common-styles.md
@@ -24,7 +24,7 @@ Weex 盒模型的 box-sizing 默认为 border-box,即盒子的宽高包含内
::: warning
* 在 Android 平台,Weex 只支持 `overflow:hidden`。
-* 在 iOS 上,0.24版本及以前,Weex 与浏览器行为一致,`overflow` 默认是 `visible`。从 0.25 版本开始,默认改为
`hidden`。同时 `overflow` 样式在 iOS 上会被忽略。你需要使用 `ios-overflow` 样式名称来指定。可参考
[样例](http://editor.weex.io/vue/5033e82e4341472a4a218ca3bd8ca7f3)
+* 在 iOS 上,0.24版本及以前,Weex 与浏览器行为一致,`overflow` 默认是 `visible`。从 0.25 版本开始,默认改为
`hidden`。同时 `overflow` 样式在 iOS 上会被忽略。你需要使用 `ios-overflow` 样式名称来指定。可参考
[样例](http://editor.weex.io/vue/13268ebfd31d8a3ef28bb6d88fa461d3)
:::
下面的例子显示了盒模型的基本用法