Skip to content

Commit

Permalink
fix(TimelineStep): remove redundant spaceAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Dec 4, 2023
1 parent 59d03fc commit f6fcd90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const TimelineStepDesktop = ({
subLabel,
}: Props) => {
return (
<Stack inline shrink direction="column" align="center" spaceAfter="large">
<Stack inline shrink direction="column" align="center">
<StyledText>
<Text align="center" size="small">
{subLabel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ interface Props extends StepProps {
const TimelineStepMobile = ({ type, subLabel, label, nextType, children, active, last }: Props) => {
return (
<StyledRelative>
<Stack flex spaceAfter="large" align="stretch" desktop={{ align: "start" }}>
<Stack
flex
spaceAfter={last ? undefined : "large"}
align="stretch"
desktop={{ align: "start" }}
>
<TypeIcon type={type} active={!!active} mobile />
{!last && <StyledProgressLine status={nextType} prevStatus={type} />}
<Stack flex shrink direction="column" spacing="XXSmall">
Expand Down

0 comments on commit f6fcd90

Please sign in to comment.