From 9763c15db4c4ba92e00cfa83c248665d3731228f Mon Sep 17 00:00:00 2001 From: alexchen Date: Wed, 26 Dec 2018 12:06:54 +0800 Subject: [PATCH] refactor: add upload-picture-card-border-style --- components/upload/style/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/upload/style/index.less b/components/upload/style/index.less index 181ee0f6f8..0896c9a61f 100644 --- a/components/upload/style/index.less +++ b/components/upload/style/index.less @@ -4,6 +4,7 @@ @upload-prefix-cls: ~'@{ant-prefix}-upload'; @upload-item: ~'@{ant-prefix}-upload-list-item'; @upload-pictrue-card-size: 104px; +@upload-picture-card-border-style: @border-style-base; .@{upload-prefix-cls} { .reset-component; @@ -206,7 +207,7 @@ .@{upload-item} { padding: 8px; border-radius: @border-radius-base; - border: @border-width-base @border-style-base @border-color-base; + border: @border-width-base @upload-picture-card-border-style @border-color-base; height: 66px; position: relative; &:hover {