Fix upload style

This commit is contained in:
afc163 2017-10-26 11:47:05 +08:00
parent e5699aff68
commit e2bff100bd
2 changed files with 4 additions and 2 deletions

View File

@ -72,13 +72,12 @@ ReactDOM.render(<PicturesWall />, mountNode);
````css ````css
/* you can make up upload button and sample style by using stylesheets */ /* you can make up upload button and sample style by using stylesheets */
.ant-upload-select-picture-card i { .ant-upload-select-picture-card i {
font-size: 28px; font-size: 32px;
color: #999; color: #999;
} }
.ant-upload-select-picture-card .ant-upload-text { .ant-upload-select-picture-card .ant-upload-text {
margin-top: 8px; margin-top: 8px;
font-size: 12px;
color: #666; color: #666;
} }
```` ````

View File

@ -283,6 +283,9 @@
&-picture-card { &-picture-card {
display: inline; display: inline;
&.@{upload-prefix-cls}-list:after {
display: none;
}
.@{upload-item} { .@{upload-item} {
float: left; float: left;
width: @upload-pictrue-card-size; width: @upload-pictrue-card-size;