From 962377bd7e76e3929a85f50dae821d40002aeea9 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Fri, 4 Mar 2022 21:48:38 +0000
Subject: bug fixes and polish

---
 src/lib/sections/Inventories.svelte | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

(limited to 'src/lib/sections/Inventories.svelte')

diff --git a/src/lib/sections/Inventories.svelte b/src/lib/sections/Inventories.svelte
index 1f30255..8be6853 100644
--- a/src/lib/sections/Inventories.svelte
+++ b/src/lib/sections/Inventories.svelte
@@ -2,7 +2,7 @@
 	import Inventory from '$lib/minecraft/Inventory.svelte'
 	import { fade } from 'svelte/transition'
 	import { cleanId } from '$lib/utils'
-	import { skyblockItemToUrl } from '$lib/minecraft/inventory'
+	import { skyblockItemToUrl, type Item } from '$lib/minecraft/inventory'
 
 	export let data
 	export let pack
@@ -13,11 +13,15 @@
 
 	let selectedInventoryName: string = displayingInventories[0]
 
-	const inventoryIconMap = {
-		inventory: 'nether_star',
+	const inventoryIconMap: Record<string, string | Item> = {
+		inventory: {
+			id: 'SKYBLOCK_MENU',
+			vanillaId: 'nether_star',
+			display: { name: 'SkyBlock Menu' },
+		},
 		ender_chest: 'ender_chest',
 		potion_bag: 'potion',
-		fishing_bag: 'cod',
+		fishing_bag: 'fishing_rod',
 		quiver: 'arrow',
 		wardrobe: 'leather_chestplate',
 	}
@@ -80,10 +84,10 @@
 		image-rendering: pixelated;
 	}
 	.inventory-tab-name {
-		vertical-align: middle;
+		vertical-align: text-top;
 	}
 	.inventory-tab:hover,
 	.inventory-tab-active {
-		background-color: rgba(20, 20, 20, 0.9);
+		background-color: rgba(40, 40, 40, 0.9);
 	}
 </style>
-- 
cgit 

