style: reduce calculation (#9479)

This commit is contained in:
neverland 2021-09-15 15:06:29 +08:00 committed by GitHub
parent 211c3bff19
commit ba5a70d5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -61,7 +61,7 @@
-webkit-overflow-scrolling: touch;
&--with-bottom {
padding-bottom: calc(var(--van-padding-md) + 50px);
padding-bottom: 50px;
}
}

View File

@ -40,7 +40,7 @@
}
&__tip-icon {
min-width: calc(var(--van-submit-bar-tip-icon-size) * 1.5);
margin-right: var(--van-padding-base);
font-size: var(--van-submit-bar-tip-icon-size);
vertical-align: middle;
}

View File

@ -117,7 +117,6 @@
position: absolute;
top: 0;
right: 0;
color: #fff;
color: var(--van-uploader-delete-color);
font-size: var(--van-uploader-delete-icon-size);
transform: scale(0.7) translate(10%, -10%);