Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-09-17 14:20:23 +08:00
9 changed files with 92 additions and 14 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ export default createComponent({
const { title, message, allowHtml, messageAlign } = props;
if (message) {
return (
<div class={bem('content')}>
<div class={bem('content', { isolated: !slots.title })}>
<div
class={bem('message', {
'has-title': slots.title || title,
+16 -1
View File
@@ -27,9 +27,18 @@
}
}
&__content {
&--isolated {
display: flex;
align-items: center;
min-height: 104px;
}
}
&__message {
flex: 1;
max-height: @dialog-message-max-height;
padding: @dialog-message-padding;
padding: 26px @dialog-message-padding;
overflow-y: auto;
font-size: @dialog-message-font-size;
line-height: @dialog-message-line-height;
@@ -63,6 +72,7 @@
&__confirm,
&__cancel {
flex: 1;
height: @dialog-button-height;
margin: 0;
border: 0;
}
@@ -86,6 +96,11 @@
color: @text-color;
}
.van-dialog__confirm,
.van-dialog__cancel {
height: @dialog-round-button-height;
}
.van-dialog__confirm {
color: @white;
}