From 7cf026f045b513a8de179e68a4d92b5885a614d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 23 Jan 2020 10:49:00 +0800 Subject: [PATCH] chore(ActionSheet): adjust max-height --- src/calendar/README.md | 6 +++--- src/calendar/README.zh-CN.md | 6 +++--- src/style/var.less | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/calendar/README.md b/src/calendar/README.md index 94a852697..f0c4b498a 100644 --- a/src/calendar/README.md +++ b/src/calendar/README.md @@ -230,9 +230,9 @@ Set `poppable` to `false`, the calendar will be displayed directly on the page i | safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` | | confirm-text | Confirm button text | *string* | `Confirm` | | confirm-disabled-text | Confirm button text when disabled | *string* | `Confirm` | -| max-range`2.4.3` | Number of selectable days | *number* | - | -| range-prompt`2.4.3` | Error message when exceeded max range | *string* | `Choose no more than xx days` | -| get-container`2.4.4` | Return the mount node for Calendar | _string \| () => Element_ | - | +| max-range `2.4.3` | Number of selectable days | *number* | - | +| range-prompt `2.4.3` | Error message when exceeded max range | *string* | `Choose no more than xx days` | +| get-container `2.4.4` | Return the mount node for Calendar | _string \| () => Element_ | - | ### Data Structure of Day diff --git a/src/calendar/README.zh-CN.md b/src/calendar/README.zh-CN.md index cea246639..6b81e2fff 100644 --- a/src/calendar/README.zh-CN.md +++ b/src/calendar/README.zh-CN.md @@ -230,9 +230,9 @@ export default { | safe-area-inset-bottom | 是否开启 [底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` | | confirm-text | 确认按钮的文字 | *string* | `确定` | | confirm-disabled-text | 确认按钮处于禁用状态时的文字 | *string* | `确定` | -| max-range`2.4.3` | 日期区间最多可选天数,默认无限制 | *number* | - | -| range-prompt`2.4.3` | 选择超过区间范围时的提示文案 | *string* | `选择天数不能超过 xx 天` | -| get-container`2.4.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | +| max-range `2.4.3` | 日期区间最多可选天数,默认无限制 | *number* | - | +| range-prompt `2.4.3` | 选择超过区间范围时的提示文案 | *string* | `选择天数不能超过 xx 天` | +| get-container `2.4.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | ### Day 数据结构 diff --git a/src/style/var.less b/src/style/var.less index 4de7b59e9..e8e9aa3ac 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -58,7 +58,7 @@ @border-radius-max: 999px; // ActionSheet -@action-sheet-max-height: 90%; +@action-sheet-max-height: 80%; @action-sheet-header-height: 44px; @action-sheet-header-font-size: @font-size-lg; @action-sheet-description-color: @gray-7;