From fa42cdc56e21d6d50f17db6143b74d8b57f179be Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sat, 23 Apr 2022 22:08:29 -0500
Subject: add /items page

---
 src/lib/minecraft/MinecraftTooltip.svelte | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/lib/minecraft/MinecraftTooltip.svelte')

diff --git a/src/lib/minecraft/MinecraftTooltip.svelte b/src/lib/minecraft/MinecraftTooltip.svelte
index 0cdb237..7149626 100644
--- a/src/lib/minecraft/MinecraftTooltip.svelte
+++ b/src/lib/minecraft/MinecraftTooltip.svelte
@@ -26,6 +26,8 @@
 	.minecraft-tooltip {
 		/* this makes it be less dumb about the height so it doesn't add extra or anything */
 		display: grid;
+		/* this is so it doesn't change width to fill the container in the item list page */
+		max-width: fit-content;
 	}
 	/* these elements exist so we can copy them later from GlobalTooltip */
 	.tooltip-name,
-- 
cgit 

