Skip to content

Commit

Permalink
fix: Icon svg sprite symbols override global vars (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnywx authored Sep 25, 2018
1 parent fa7bfab commit 9e28b58
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 144 deletions.
2 changes: 1 addition & 1 deletion src/components/Base/Icon/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Icon extends React.PureComponent {
{...rest}
>
<svg className={`${prefix} ${prefix}-${name} ${prefix}-${type}`} style={colorStyles}>
<use xlinkHref={`#${name}`} />
<use xlinkHref={`#qui-${name}`} />
</svg>
</span>
);
Expand Down
Loading

0 comments on commit 9e28b58

Please sign in to comment.