Skip to content

Commit

Permalink
Took care of overflow and positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zadielerick committed Jun 29, 2015
1 parent 2565bfd commit 6694000
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/text-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,20 @@ let TextField = React.createClass({
transition: Transitions.easeOut('200ms', 'height')
},
error: {
position: 'absolute',
bottom: -10,
position: 'relative',
bottom: 5,
fontSize: 12,
lineHeight: '12px',
color: theme.errorColor,
transition: Transitions.easeOut(),
},
hint: {
position: 'absolute',
lineHeight: '48px',
lineHeight: '20px',
opacity: 1,
color: theme.hintColor,
transition: Transitions.easeOut()
transition: Transitions.easeOut(),
bottom: '10px'
},
input: {
WebkitTapHighlightColor: 'rgba(0,0,0,0)',
Expand Down

0 comments on commit 6694000

Please sign in to comment.