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

This commit is contained in:
neverland 2019-10-11 19:28:50 +08:00 committed by GitHub
parent 9b203ba5e0
commit 8381b4c042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,16 @@
.van-dialog {
top: 45% !important;
width: 85%;
width: 320px;
overflow: hidden;
font-size: 16px;
border-radius: 4px;
.theme(background-color, '@white');
@media (max-width: 321px) {
width: 90%;
}
&__header {
padding-top: 25px;
font-weight: 500;