Skip to content

Commit

Permalink
Fix: Bigger Enhanced item icon
Browse files Browse the repository at this point in the history
  • Loading branch information
chainrez committed Mar 1, 2025
1 parent 7742637 commit d415b6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/app/inventory/BadgeInfo.m.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
height: calc((8 / 50) * var(--item-size));
margin-right: auto;
color: var(--theme-item-shaped-icon);
&.enhancedIcon {
width: calc((10 / 50) * var(--item-size));
height: calc((10 / 50) * var(--item-size));
}
}

.quality {
Expand Down
1 change: 1 addition & 0 deletions src/app/inventory/BadgeInfo.m.scss.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app/inventory/BadgeInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function BadgeInfo({ item, isCapped, wishlistRoll }: Props) {
const wishlistRollIcon = toUiWishListRoll(wishlistRoll);
const summaryIcon = item.crafted ? (
<AppIcon
className={styles.shapedIcon}
className={clsx(styles.shapedIcon, item.crafted === 'enhanced' && styles.enhancedIcon)}
icon={item.crafted === 'enhanced' ? enhancedIcon : shapedIcon}
/>
) : (
Expand Down

0 comments on commit d415b6b

Please sign in to comment.