From e2bff100bd8bb0c4ebbf0ee23c38ee571c650dbb Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 26 Oct 2017 11:47:05 +0800 Subject: [PATCH] Fix upload style --- components/upload/demo/picture-card.md | 3 +-- components/upload/style/index.less | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/upload/demo/picture-card.md b/components/upload/demo/picture-card.md index 5c342c5491..0c669dd16d 100644 --- a/components/upload/demo/picture-card.md +++ b/components/upload/demo/picture-card.md @@ -72,13 +72,12 @@ ReactDOM.render(, mountNode); ````css /* you can make up upload button and sample style by using stylesheets */ .ant-upload-select-picture-card i { - font-size: 28px; + font-size: 32px; color: #999; } .ant-upload-select-picture-card .ant-upload-text { margin-top: 8px; - font-size: 12px; color: #666; } ```` diff --git a/components/upload/style/index.less b/components/upload/style/index.less index f947c49348..0b96dc8220 100644 --- a/components/upload/style/index.less +++ b/components/upload/style/index.less @@ -283,6 +283,9 @@ &-picture-card { display: inline; + &.@{upload-prefix-cls}-list:after { + display: none; + } .@{upload-item} { float: left; width: @upload-pictrue-card-size;