From c311bc17b10458a12b1eba82ee1cf35d20b7e6ea Mon Sep 17 00:00:00 2001 From: Ian Jones Date: Fri, 17 May 2024 10:41:26 +0100 Subject: [PATCH] fix: Move page specific styles out of component --- .../src/@planx/components/FindProperty/Public/index.tsx | 4 ++++ editor.planx.uk/src/components/DelayedLoadingIndicator.tsx | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/FindProperty/Public/index.tsx b/editor.planx.uk/src/@planx/components/FindProperty/Public/index.tsx index d5bde2eee7..41da7e874c 100644 --- a/editor.planx.uk/src/@planx/components/FindProperty/Public/index.tsx +++ b/editor.planx.uk/src/@planx/components/FindProperty/Public/index.tsx @@ -47,6 +47,10 @@ const AddressLoadingWrap = styled(Box)(({ theme }) => ({ position: "absolute", bottom: theme.spacing(1), margin: 0, + "& > div": { + justifyContent: "flex-start", + paddingLeft: theme.spacing(16), + }, }, })); diff --git a/editor.planx.uk/src/components/DelayedLoadingIndicator.tsx b/editor.planx.uk/src/components/DelayedLoadingIndicator.tsx index 22d87e774c..a14ffca721 100644 --- a/editor.planx.uk/src/components/DelayedLoadingIndicator.tsx +++ b/editor.planx.uk/src/components/DelayedLoadingIndicator.tsx @@ -17,10 +17,6 @@ const Root = styled(Box, { justifyContent: "center", ...(inline && { padding: 0, - [theme.breakpoints.up("md")]: { - justifyContent: "flex-start", - paddingLeft: theme.spacing(16), - }, }), }));