diff --git a/src/components/molecules/CompareBar/CompareBar.tsx b/src/components/molecules/CompareBar/CompareBar.tsx index 1bcd6dc..ee00b29 100644 --- a/src/components/molecules/CompareBar/CompareBar.tsx +++ b/src/components/molecules/CompareBar/CompareBar.tsx @@ -62,9 +62,10 @@ export const CompareBar = React.forwardRef( sx={[ (theme: Theme) => ({ position: 'fixed', - // Clear the sticky HelpBar (~56px + 16px breathing) so the - // pill doesn't overlap it. - bottom: theme.spacing(9), + // Clear the sticky HelpBar (~40px tall) with ~25px of + // breathing space. FA theme.spacing uses a 4px base, so + // spacing(16) = 64px. + bottom: theme.spacing(16), // Centre via auto-margin rather than `left:50%; translateX(-50%)` // — Slide (the wrapper) animates via transform, which would // otherwise clobber the centering transform.