From f17891bdb354e7c81c46deadfe8206e8679e2de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Mon, 13 May 2019 12:01:43 +0800 Subject: [PATCH] [bugfix] Uploader: should clip file-upload-button --- packages/uploader/index.less | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 } }