Skip to content

Commit

Permalink
fix: Move page specific styles out of component
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed May 17, 2024
1 parent d60cd3b commit c311bc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
},
}));

Expand Down
4 changes: 0 additions & 4 deletions editor.planx.uk/src/components/DelayedLoadingIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ const Root = styled(Box, {
justifyContent: "center",
...(inline && {
padding: 0,
[theme.breakpoints.up("md")]: {
justifyContent: "flex-start",
paddingLeft: theme.spacing(16),
},
}),
}));

Expand Down

0 comments on commit c311bc1

Please sign in to comment.