Skip to content

Commit

Permalink
Fix custom theme backgroundColor hiding hint text
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaiolo committed Oct 26, 2015
1 parent 4706cca commit 5239861
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/text-field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ const TextField = React.createClass({
height: (props.rows - 1) * 24 + (props.floatingLabelText ? 72 : 48),
display: 'inline-block',
position: 'relative',
backgroundColor: backgroundColor,
fontFamily: this.state.muiTheme.rawTheme.fontFamily,
transition: Transitions.easeOut('200ms', 'height'),
},
Expand Down Expand Up @@ -187,7 +188,7 @@ const TextField = React.createClass({
height: '100%',
border: 'none',
outline: 'none',
backgroundColor: backgroundColor,
backgroundColor: 'transparent',
color: props.disabled ? disabledTextColor : textColor,
font: 'inherit',
},
Expand Down

0 comments on commit 5239861

Please sign in to comment.