[bugfix] Uploader: should clip file-upload-button

This commit is contained in:
陈嘉涵 2019-05-13 12:01:43 +08:00
parent 60710607bc
commit f17891bdb3

View File

@ -7,16 +7,11 @@
&__input { &__input {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0;
bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
opacity: 0; opacity: 0;
cursor: pointer; cursor: pointer;
} overflow: hidden; // to clip file-upload-button
input[type="file"]::-webkit-file-upload-button {
cursor: pointer;
} }
} }