From 7aafa6ae3a07aada79c78a85da8e6c085793eb25 Mon Sep 17 00:00:00 2001 From: Emmanuel Date: Fri, 16 May 2025 11:24:38 +0100 Subject: [PATCH 1/4] Fix: Center identities list and prevent overflow --- components/identities/availableIdentities.tsx | 4 +- package-lock.json | 120 ++++++++++++++++++ 2 files changed, 122 insertions(+), 2 deletions(-) diff --git a/components/identities/availableIdentities.tsx b/components/identities/availableIdentities.tsx index cad395cd..109c9314 100644 --- a/components/identities/availableIdentities.tsx +++ b/components/identities/availableIdentities.tsx @@ -234,7 +234,7 @@ const AvailableIdentities = ({ tokenId }: { tokenId: string }) => { {ownedIdentities.map((domain, index) => (
+
+
+ + +
))} - + }} + > + + {domain.domain ? domain.domain : domain.id} + {isIdentityExpired(domain) && ( + + Domain Expired + + } + componentsProps={{ + tooltip: { + sx: { + bgcolor: "#402D28", + height: "36px", + width: "135px", + display: "flex", + alignItems: "center", + justifyContent: "center", + borderRadius: "8px", + boxShadow: + "0px 4px 12px rgba(0, 0, 0, 0.2)", + padding: "0 12px", + }, + }, + }} + > + + + )} + + + ))}