diff --git a/packages/uploader/index.less b/packages/uploader/index.less index e624c585c..34fadd3c3 100644 --- a/packages/uploader/index.less +++ b/packages/uploader/index.less @@ -7,16 +7,11 @@ &__input { position: absolute; top: 0; - right: 0; - bottom: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; - } - - input[type="file"]::-webkit-file-upload-button { - cursor: pointer; + overflow: hidden; // to clip file-upload-button } }