chore(ActionSheet): adjust max-height

This commit is contained in:
陈嘉涵 2020-01-23 10:49:00 +08:00
parent 1b576f02b2
commit 7cf026f045
3 changed files with 7 additions and 7 deletions

View File

@ -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` | | safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` |
| confirm-text | Confirm button text | *string* | `Confirm` | | confirm-text | Confirm button text | *string* | `Confirm` |
| confirm-disabled-text | Confirm button text when disabled | *string* | `Confirm` | | confirm-disabled-text | Confirm button text when disabled | *string* | `Confirm` |
| max-range`2.4.3` | Number of selectable days | *number* | - | | 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` | | 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_ | - | | get-container `2.4.4` | Return the mount node for Calendar | _string \| () => Element_ | - |
### Data Structure of Day ### Data Structure of Day

View File

@ -230,9 +230,9 @@ export default {
| safe-area-inset-bottom | 是否开启 [底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` | | safe-area-inset-bottom | 是否开启 [底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` |
| confirm-text | 确认按钮的文字 | *string* | `确定` | | confirm-text | 确认按钮的文字 | *string* | `确定` |
| confirm-disabled-text | 确认按钮处于禁用状态时的文字 | *string* | `确定` | | confirm-disabled-text | 确认按钮处于禁用状态时的文字 | *string* | `确定` |
| max-range`2.4.3` | 日期区间最多可选天数,默认无限制 | *number* | - | | max-range `2.4.3` | 日期区间最多可选天数,默认无限制 | *number* | - |
| range-prompt`2.4.3` | 选择超过区间范围时的提示文案 | *string* | `选择天数不能超过 xx 天` | | range-prompt `2.4.3` | 选择超过区间范围时的提示文案 | *string* | `选择天数不能超过 xx 天` |
| get-container`2.4.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - | | get-container `2.4.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - |
### Day 数据结构 ### Day 数据结构

View File

@ -58,7 +58,7 @@
@border-radius-max: 999px; @border-radius-max: 999px;
// ActionSheet // ActionSheet
@action-sheet-max-height: 90%; @action-sheet-max-height: 80%;
@action-sheet-header-height: 44px; @action-sheet-header-height: 44px;
@action-sheet-header-font-size: @font-size-lg; @action-sheet-header-font-size: @font-size-lg;
@action-sheet-description-color: @gray-7; @action-sheet-description-color: @gray-7;