fix(Dialog): incorrect padding with round-button theme (#6936)

* refactor(dialog): incorrect padding with round-button theme

* refactor(dialog): remove class name & combine style
This commit is contained in:
rex 2020-08-04 19:07:19 +08:00 committed by GitHub
parent 5a9f1f2988
commit e0da17d8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -80,10 +80,11 @@
.van-dialog__footer {
position: relative;
height: auto;
padding: 0 @padding-lg @padding-md;
padding: @padding-xs @padding-lg @padding-md;
}
.van-dialog__message {
padding-bottom: @padding-md;
color: @text-color;
}

View File

@ -313,7 +313,7 @@
@dialog-message-line-height: @line-height-md;
@dialog-message-max-height: 60vh;
@dialog-has-title-message-text-color: @gray-7;
@dialog-has-title-message-padding-top: @padding-sm;
@dialog-has-title-message-padding-top: @padding-xs;
@dialog-confirm-button-text-color: @red;
// Divider