fix(Dialog): improve width and avoid text blurry (#4686)

This commit is contained in:
neverland 2019-10-11 09:58:46 +08:00 committed by GitHub
parent 44295fe6b2
commit 894e9aafcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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;