Skip to content

Commit

Permalink
Merge pull request #1686 from KapJI/toggle-layout
Browse files Browse the repository at this point in the history
[Toggle] Fix layout
  • Loading branch information
oliviertassinari committed Oct 21, 2015
2 parents b7e4cd6 + ebbd08f commit a5afe6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/toggle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const Toggle = React.createClass({
},
label: {
color: this.props.disabled ? this.getTheme().labelDisabledColor : this.getTheme().labelColor,
width: 'calc(100% - ' + (toggleTrackWidth + 10) + 'px)',
},
};

Expand Down

0 comments on commit a5afe6d

Please sign in to comment.