From a4509c748f5f831fca67b85a078bdced955ef80b Mon Sep 17 00:00:00 2001 From: Pete Watters <2938440+pete-watters@users.noreply.github.com> Date: Fri, 17 May 2024 16:09:16 +0100 Subject: [PATCH] fix: fix padding on back button, ref leather-wallet/issues#25 --- .../pages/send/ordinal-inscription/send-inscription-review.tsx | 2 +- src/app/ui/components/containers/headers/header.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/send/ordinal-inscription/send-inscription-review.tsx b/src/app/pages/send/ordinal-inscription/send-inscription-review.tsx index b0530db592e..049ce3c4b63 100644 --- a/src/app/pages/send/ordinal-inscription/send-inscription-review.tsx +++ b/src/app/pages/send/ordinal-inscription/send-inscription-review.tsx @@ -64,7 +64,7 @@ export function SendInscriptionReview() { }); }, onError(e) { - void analytics.track('ordinalbroadcast__error', { error: e }); + void analytics.track('broadcast_ordinal_error', { error: e }); navigate(`/${RouteUrls.SendOrdinalInscription}/${RouteUrls.SendOrdinalInscriptionError}`, { state: { error: e, diff --git a/src/app/ui/components/containers/headers/header.tsx b/src/app/ui/components/containers/headers/header.tsx index 8aadac76bdd..f2852122deb 100644 --- a/src/app/ui/components/containers/headers/header.tsx +++ b/src/app/ui/components/containers/headers/header.tsx @@ -40,7 +40,7 @@ export function Header({ justifyContent="center" margin={{ base: 0, md: 'auto' }} p={variant === 'bigTitle' ? 'space.05' : 'space.04'} - paddingLeft={variant === 'onboarding' ? 0 : undefined} + paddingLeft={{ base: undefined, sm: variant === 'onboarding' ? 0 : undefined }} bg="transparent" maxWidth={{ base: '100vw', md: 'fullPageMaxWidth' }} width="100%"