Skip to content

Commit

Permalink
Fixes mui#2522 SVGIcon incompatibility with bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Antony committed Dec 15, 2015
1 parent 9a24d8a commit c0c44c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/svg-icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const SvgIcon = React.createClass({
width: 24,
userSelect: 'none',
transition: Transitions.easeOut(),
// Fix incompatibility with Bootstrap (Issue #2522)
boxSizing: 'content-box',
}, style, {
// Make sure our fill color overrides fill provided in props.style
fill: this.state.hovered ? onColor : offColor,
Expand Down

0 comments on commit c0c44c7

Please sign in to comment.