Skip to content

Commit

Permalink
fix: Position of address loading with save and return (#3165)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s authored May 17, 2024
1 parent e14b166 commit 657bcf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ const AddressLoadingWrap = styled(Box)(({ theme }) => ({
minHeight: theme.spacing(3),
pointerEvents: "none",
[theme.breakpoints.up("md")]: {
position: "absolute",
bottom: theme.spacing(1),
position: "relative",
margin: 0,
height: 0,
minHeight: 0,
"& > div": {
position: "absolute",
top: theme.spacing(5.5),
justifyContent: "flex-start",
paddingLeft: theme.spacing(16),
},
Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/components/DelayedLoadingIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface Props {

const Root = styled(Box, {
shouldForwardProp: (prop) => prop !== "inline",
})<Props>(({ inline, theme }) => ({
})<Props>(({ inline }) => ({
padding: 60,
display: "flex",
alignItems: "center",
Expand Down

0 comments on commit 657bcf0

Please sign in to comment.