Skip to content

Commit

Permalink
Merge pull request #401 from WTTJ/fix-fileupload-error
Browse files Browse the repository at this point in the history
fix: fileupload error border
  • Loading branch information
theo-mesnil authored Oct 22, 2019
2 parents ab227bf + 44b8275 commit 432d61d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/Field/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const getFields = theme => {
}
},
fileupload: {
...defaults,
'border-style': 'dashed',
height: toRem(300)
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/FileDrop/doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ See your browser console for the real `File` object ready to upload.
component={FileDrop}
name="avatar"
label="Default"
hint="Files must be <200MB"
hint="Files must be < 2MB"
required
onAddFile={console.debug}
onRemoveFile={console.debug}
Expand Down Expand Up @@ -72,7 +72,7 @@ See your browser console for the real `File` object ready to upload.
>
<ConnectedField
component={FileDrop}
hint="Files must be <200MB"
hint="Files must be < 2MB"
isEditable
isClearable
label="Avatar"
Expand Down

1 comment on commit 432d61d

@vercel
Copy link

@vercel vercel bot commented on 432d61d Oct 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.