From f6fcd904d34ad9e19e07489478446cb362388c29 Mon Sep 17 00:00:00 2001 From: Victor Genaev Date: Mon, 4 Dec 2023 17:06:21 +0100 Subject: [PATCH] fix(TimelineStep): remove redundant spaceAfter --- .../TimelineStep/components/TimelineStepDesktop.tsx | 2 +- .../TimelineStep/components/TimelineStepMobile.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepDesktop.tsx b/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepDesktop.tsx index 38deb26ef6..0a8a9161f9 100644 --- a/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepDesktop.tsx +++ b/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepDesktop.tsx @@ -41,7 +41,7 @@ const TimelineStepDesktop = ({ subLabel, }: Props) => { return ( - + {subLabel} diff --git a/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepMobile.tsx b/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepMobile.tsx index 38e06f1d31..b159dd2531 100644 --- a/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepMobile.tsx +++ b/packages/orbit-components/src/Timeline/TimelineStep/components/TimelineStepMobile.tsx @@ -16,7 +16,12 @@ interface Props extends StepProps { const TimelineStepMobile = ({ type, subLabel, label, nextType, children, active, last }: Props) => { return ( - + {!last && }