Skip to content

Commit

Permalink
feat(Upload): card and drag configurable item
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Apr 10, 2019
1 parent 804da6a commit 9b485d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload/dragger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Dragger extends React.Component {
const children = this.props.children || (
<div className={cls}>
<p className={`${prefixCls}-icon`}>
<Icon type="upload" size="large" />
<Icon size="large" className={`${prefixCls}-upload-icon`} />
</p>
<p className={`${prefixCls}-text`}>{locale.drag.text}</p>
<p className={`${prefixCls}-hint`}>{locale.drag.hint}</p>
Expand Down
6 changes: 6 additions & 0 deletions src/upload/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,13 @@
&-icon {
margin: $s-5 0 0;
color: $color-text1-3;
#{$upload-prefix}-drag-upload-icon::before {
content: $upload-drag-zone-upload-icon;
}
}



&-text {
margin: $s-3 0 0;
font-size: $upload-drag-zone-font-size;
Expand Down

0 comments on commit 9b485d7

Please sign in to comment.