-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: fix Download icon rendering on DiagnosticsView component
Previously (with some regression changes), an icon on Statement Diagnostics view wasn't rendered and instead base64 encoded string was shown. This fix introduces two kinds of changes: - Reused Download icon from `ui-components` package so it is renders properly - styles for `Anchor` and `Button` components are extended with `fill` attribute with the same values as for `color` attribute. It allows nested SVG elements (icons) to inherit proper colors even when link or button are hovered or disabled. Release note (ui change): fixes corrupted icon rendering on Statement Details page > Diagnostics tab
- Loading branch information
Showing
4 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,7 @@ | |
|
||
.crl-anchor | ||
color $colors--link | ||
fill $colors--link | ||
&:hover | ||
color $colors--info-4 | ||
fill $colors--info-4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters