-
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.
57776: ui: fix Download icon rendering on DiagnosticsView component r=koorosh a=koorosh Resolves #57698 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 **Before**: <img width="1437" alt="Screen Shot 2020-12-08 at 1 37 13 PM" src="https://user-images.githubusercontent.com/3106437/101758114-a2011f80-3ae0-11eb-903f-d5056075b8cd.png"> **After:** <img width="1221" alt="Screen Shot 2020-12-10 at 12 09 19 PM" src="https://user-images.githubusercontent.com/3106437/101758162-b0e7d200-3ae0-11eb-92a5-3c7d04040239.png"> Co-authored-by: Andrii Vorobiov <[email protected]>
- 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