mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Dialog): improve width and avoid text blurry (#4686)
This commit is contained in:
parent
44295fe6b2
commit
894e9aafcb
@ -14,6 +14,10 @@
|
||||
transition: @dialog-transition;
|
||||
transition-property: transform, opacity;
|
||||
|
||||
@media (max-width: 321px) {
|
||||
width: @dialog-small-screen-width;
|
||||
}
|
||||
|
||||
&__header {
|
||||
padding-top: @dialog-header-padding-top;
|
||||
font-weight: @dialog-header-font-weight;
|
||||
|
@ -236,7 +236,8 @@
|
||||
@coupon-list-empty-tip-line-height: 20px;
|
||||
|
||||
// Dialog
|
||||
@dialog-width: 85%;
|
||||
@dialog-width: 320px;
|
||||
@dialog-small-screen-width: 90%;
|
||||
@dialog-font-size: @font-size-lg;
|
||||
@dialog-transition: @animation-duration-base;
|
||||
@dialog-border-radius: @border-radius-md;
|
||||
|
Loading…
x
Reference in New Issue
Block a user