Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Add pointer to correct spot
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Mar 24, 2017
1 parent f41485a commit ca52ea0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .storybook/__storyshots__/Field.shot
Expand Up @@ -4,7 +4,6 @@ exports[`Renders`] = `
onMouseLeave={[Function]}
style={
Object {
"cursor": "pointer",
"overflow": "hidden",
"position": "relative",
}
Expand All @@ -16,6 +15,7 @@ exports[`Renders`] = `
onChange={[Function]}
style={
Object {
"cursor": "pointer",
"height": "100%",
"opacity": 0,
"position": "absolute",
Expand All @@ -34,7 +34,6 @@ exports[`Triggers hover on children`] = `
onMouseLeave={[Function]}
style={
Object {
"cursor": "pointer",
"overflow": "hidden",
"position": "relative",
}
Expand All @@ -51,6 +50,7 @@ exports[`Triggers hover on children`] = `
onChange={[Function]}
style={
Object {
"cursor": "pointer",
"height": "100%",
"opacity": 0,
"position": "absolute",
Expand Down
2 changes: 1 addition & 1 deletion .storybook/__storyshots__/Uploader.shot
Expand Up @@ -5,7 +5,6 @@ exports[`Renders`] = `
onMouseLeave={[Function]}
style={
Object {
"cursor": "pointer",
"overflow": "hidden",
"position": "relative",
}
Expand All @@ -17,6 +16,7 @@ exports[`Renders`] = `
onChange={[Function]}
style={
Object {
"cursor": "pointer",
"height": "100%",
"opacity": 0,
"position": "absolute",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@navjobs/upload",
"version": "0.1.2",
"version": "0.1.3",
"description": "HOC that displays a file upload on clicking children",
"main": "dist/index.js",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions src/upload-field.js
Expand Up @@ -32,14 +32,14 @@ var styles = {
container: {
overflow: 'hidden',
position: 'relative',
cursor: 'pointer',
},
input: {
height: '100%',
width: '100%',
opacity: 0,
position: 'absolute',
top: 0,
right: 0,
opacity: 0,
width: '100%',
height: '100%',
cursor: 'pointer',
position: 'absolute',
},
};

0 comments on commit ca52ea0

Please sign in to comment.