Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fixed wrong input width
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoCioria committed Jun 25, 2015
1 parent e332d54 commit 13502e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/InputLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ const InputLink = React.createClass({
},

getInputStyle() {
return assign(this.props.style, {paddingRight: this.state.width});
const neededStyle = {
paddingRight: this.state.width,
width: '100%',
boxSizing: 'border-box'
};
return assign(this.props.style, neededStyle);
},

getChildStyle() {
Expand Down

0 comments on commit 13502e4

Please sign in to comment.