We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d907417 commit ebbd08fCopy full SHA for ebbd08f
src/toggle.jsx
@@ -79,7 +79,7 @@ let Toggle = React.createClass({
79
},
80
label: {
81
color: this.props.disabled ? this.getTheme().labelDisabledColor : this.getTheme().labelColor,
82
- width: 'calc(100% - 46px)',
+ width: 'calc(100% - ' + (toggleTrackWidth + 10) + 'px)',
83
84
};
85
0 commit comments