Skip to content

Commit

Permalink
fix warning icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gades committed Jun 17, 2019
1 parent 393fa7e commit 278e42c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/components/Icon/Icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class Icon extends React.Component {

render() {
let classes = "icon ";
if (this.props.name !== "warning") {
// fixme remove warning, otherwise color is being overwritten. should be handled by adjusting the CSS instead
classes = this.props.name;
}
if (this.props.size) {
classes += " icon-" + this.props.size;
}
Expand Down

0 comments on commit 278e42c

Please sign in to comment.