diff --git a/src/app/ItemPage.js b/src/app/ItemPage.js index aaa33f60..1b022b5e 100644 --- a/src/app/ItemPage.js +++ b/src/app/ItemPage.js @@ -173,10 +173,11 @@ function ItemPageOwnWantButtons({ itemId }) { return ( 1) { - buttonText = `In ${realLists.length} lists`; + const listNames = realLists.map((cl) => `"${cl.name}"`).join(", "); + buttonText = `${realLists.length} lists: ${listNames}`; } else { buttonText = "Add to list"; } @@ -223,6 +225,7 @@ function ItemPageOwnWantListsButton({ closetLists, isVisible }) { fontSize="xs" alignItems="center" borderRadius="sm" + width="100%" _hover={{ textDecoration: "underline" }} _focus={{ textDecoration: "underline", @@ -245,7 +248,9 @@ function ItemPageOwnWantListsButton({ closetLists, isVisible }) { > {/* Flex tricks to center the text, ignoring the caret */} - {buttonText} + + {buttonText} +