Browse Source

Fix upload style

pull/8064/head
afc163 7 years ago
parent
commit
e2bff100bd
  1. 3
      components/upload/demo/picture-card.md
  2. 3
      components/upload/style/index.less

3
components/upload/demo/picture-card.md

@ -72,13 +72,12 @@ ReactDOM.render(<PicturesWall />, 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;
}
````

3
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;

Loading…
Cancel
Save