feat(ActionSheet): update style (#4546)

This commit is contained in:
neverland 2019-09-23 17:42:10 +08:00 committed by GitHub
parent 4427954606
commit 7f8160eb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,7 @@ export default {
### 展示取消按钮
设置`cancelText`属性后,会在底部展示取消按钮,点击后关闭当前菜单
设置`cancel-text`属性后,会在底部展示取消按钮,点击后关闭当前菜单
```html
<van-action-sheet

View File

@ -104,7 +104,7 @@ export default {
}
p {
padding: 20px;
padding: @padding-md @padding-md @padding-md * 10;
}
}
</style>

View File

@ -45,6 +45,7 @@
}
&__header {
font-weight: 500;
font-size: @action-sheet-header-font-size;
line-height: @action-sheet-header-height;
text-align: center;

View File

@ -439,7 +439,7 @@
// Popup
@popup-background-color: @white;
@popup-transition: transform @animation-duration-base ease-out;
@popup-round-border-radius: 12px;
@popup-round-border-radius: 20px;
@popup-close-icon-size: 18px;
@popup-close-icon-color: @gray-dark;
@popup-close-icon-margin: 16px;