Skip to content

Commit

Permalink
fix(atoms): fix input left/right icons position
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Jul 17, 2018
1 parent f73b1a9 commit 0ded534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/atoms/dataEntry/Input/Input.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ const iconsStyles = {

const InputLeftIconTag = createStyledTag(name, {
...iconsStyles,
left: 0,
left: '1rem',
});

const InputRightIconTag = createStyledTag(name, {
...iconsStyles,
right: 0,
right: '1rem',
});

const getInputStyles = props => ({
Expand Down
6 changes: 3 additions & 3 deletions storybook/__tests__/__snapshots__/storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3473,7 +3473,7 @@ exports[`Storyshots ATOMS/DATA ENTRY/Input with left icon 1`] = `
align-items: center;
height: 100%;
width: 3rem;
left: 0;
left: 1rem;
}
<div
Expand Down Expand Up @@ -3619,7 +3619,7 @@ exports[`Storyshots ATOMS/DATA ENTRY/Input with right icon 1`] = `
align-items: center;
height: 100%;
width: 3rem;
right: 0;
right: 1rem;
}
<div
Expand Down Expand Up @@ -3677,7 +3677,7 @@ exports[`Storyshots ATOMS/DATA ENTRY/Input with right icon and error 1`] = `
align-items: center;
height: 100%;
width: 3rem;
right: 0;
right: 1rem;
}
.emotion-0 {
Expand Down

0 comments on commit 0ded534

Please sign in to comment.