diff --git a/src/lib/GameIcon.svelte b/src/lib/GameIcon.svelte index bad8cf7d4..638de69bc 100644 --- a/src/lib/GameIcon.svelte +++ b/src/lib/GameIcon.svelte @@ -1,4 +1,5 @@
- - - - - {alt}'s icon - +
+ + + + + {alt}'s icon + + {#if counter > 1} + {counter} + {/if} +
{#if showCaption}
{alt}
{/if}
diff --git a/src/lib/RecipeItems.svelte b/src/lib/RecipeItems.svelte index 299de68b7..d048a6678 100644 --- a/src/lib/RecipeItems.svelte +++ b/src/lib/RecipeItems.svelte @@ -10,14 +10,12 @@
  • - {#if item.count > 1} - {item.count} - {/if}
  • {/each} @@ -31,20 +29,7 @@ .item { --game-icon-width: 64px; - position: relative; display: flex; - padding-top: 6px; - padding-right: 16px; align-items: center; } - - .counter { - position: absolute; - top: 0; - right: 0; - padding: 0 4px; - background-color: #a5d740; - color: black; - border-radius: 0.2em; - }