Commit c005f5d
committed
Resolves #3907 ([FR-1212](https://lablup.atlassian.net/browse/FR-1212))
# Fix NVIDIA icon display in ResourceTypeIcon component
This PR addresses two issues:
1. Adds explicit width styling to the ImageWithFallback component in ResourceTypeIcon to ensure proper icon sizing
2. Replaces the NVIDIA SVG icon with a more standardized version that has better proportions
The previous NVIDIA icon had inconsistent dimensions which caused display issues. The new icon maintains the same visual identity but with proper scaling and viewBox settings.
Before:

After:
(Nvidia logo changed to the same file with gpu1.svg)

**Checklist:**
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
[FR-1212]: https://lablup.atlassian.net/browse/FR-1212?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 6aea5d6 commit c005f5d
File tree
2 files changed
+2
-1
lines changed- react/src/components
- resources/icons
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
Loading
0 commit comments