diff --git a/pages/identities/[tokenId].tsx b/pages/identities/[tokenId].tsx index 1e98a38a..71dfc547 100644 --- a/pages/identities/[tokenId].tsx +++ b/pages/identities/[tokenId].tsx @@ -12,6 +12,7 @@ import IdentityPageSkeleton from "../../components/identities/skeletons/identity import UpdateProfilePic from "../../components/identities/updateProfilePic"; import TxConfirmationModal from "../../components/UI/txConfirmationModal"; import { StarknetIdJsContext } from "../../context/StarknetIdJsProvider"; +import BackButton from "../../components/UI/backButton"; const TokenIdPage: NextPage = () => { const router = useRouter(); @@ -66,11 +67,14 @@ const TokenIdPage: NextPage = () => { return ( <> -
+
{isIdentityADomain === undefined ? ( ) : !isUpdatingPp ? (
+
+ window.history.back()} /> +
<>
diff --git a/styles/components/backButton.module.css b/styles/components/backButton.module.css index 5a9d1136..8fc06e96 100644 --- a/styles/components/backButton.module.css +++ b/styles/components/backButton.module.css @@ -11,7 +11,7 @@ .backButtonLabel { color: var(--secondary); text-align: center; - font-family: Poppins-Bold; + font-family: "QuickZap"; font-size: 15px; font-style: normal; font-weight: 700; diff --git a/styles/components/identitiesV1.module.css b/styles/components/identitiesV1.module.css index 1a29506c..e823b7b0 100644 --- a/styles/components/identitiesV1.module.css +++ b/styles/components/identitiesV1.module.css @@ -35,7 +35,6 @@ } .containerIdentity { - height: 100%; display: flex; justify-content: center; flex-direction: column; @@ -59,7 +58,6 @@ flex-direction: column; align-items: center; width: 100%; - height: 100%; } @media (min-width: 1124px) { @@ -77,3 +75,17 @@ left: 0; } } + +.backButton { + margin-left: 4rem; + margin-top: calc(12vh + 64px); + margin-bottom: 64px; +} + +.wrapperScreen { + display: inline-flex; + flex-direction: column; + width: 100%; + justify-content: center; + min-height: calc(100% - 12vh); +}