Skip to content

Commit

Permalink
Only recolor external link icon in Link
Browse files Browse the repository at this point in the history
  • Loading branch information
ry5n committed Jun 26, 2019
1 parent b0ce369 commit 58c8a8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

### Bug fixes

- Fixes `monochrome` variant of `Link` and `Button` components to support multi-line link text ([#1686](https://github.com/Shopify/polaris-react/pull/1686))
- Fixed `monochrome` variant of `Link` and `Button` components to support multi-line link text ([#1686](https://github.com/Shopify/polaris-react/pull/1686))
- Fixed the first column of `DataTable` not rendering in iOS Safari (([#1605](https://github.com/Shopify/polaris-react/pull/1605))
- Fixed a regression introduced in #1247, where icons inside of `Link` would always be recolored to match the text color ([#1729](https://github.com/Shopify/polaris-react/pull/1729))

### Documentation

Expand Down
2 changes: 1 addition & 1 deletion src/components/Link/Link.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.Link {
@include recolor-icon(currentColor);
appearance: none;
display: inline;
text-align: inherit;
Expand All @@ -18,6 +17,7 @@
}

.IconLockup {
@include recolor-icon(currentColor);
display: inline;
white-space: nowrap;

Expand Down

0 comments on commit 58c8a8a

Please sign in to comment.