mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
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:
parent
5a9f1f2988
commit
e0da17d8d9
@ -80,10 +80,11 @@
|
|||||||
.van-dialog__footer {
|
.van-dialog__footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0 @padding-lg @padding-md;
|
padding: @padding-xs @padding-lg @padding-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-dialog__message {
|
.van-dialog__message {
|
||||||
|
padding-bottom: @padding-md;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -313,7 +313,7 @@
|
|||||||
@dialog-message-line-height: @line-height-md;
|
@dialog-message-line-height: @line-height-md;
|
||||||
@dialog-message-max-height: 60vh;
|
@dialog-message-max-height: 60vh;
|
||||||
@dialog-has-title-message-text-color: @gray-7;
|
@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;
|
@dialog-confirm-button-text-color: @red;
|
||||||
|
|
||||||
// Divider
|
// Divider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user