File tree 1 file changed +6
-2
lines changed
static/app/components/guidedSteps
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -120,15 +120,15 @@ function Step(props: StepProps) {
120
120
return (
121
121
< StepWrapper data-test-id = { `guided-step-${ stepNumber } ` } >
122
122
< StepNumber isActive = { isActive } > { stepNumber } </ StepNumber >
123
- < div >
123
+ < StepDetails >
124
124
< StepHeading isActive = { isActive } >
125
125
{ props . title }
126
126
{ isCompleted && < StepDoneIcon isActive = { isActive } size = "sm" /> }
127
127
</ StepHeading >
128
128
{ isActive && (
129
129
< ChildrenWrapper isActive = { isActive } > { props . children } </ ChildrenWrapper >
130
130
) }
131
- </ div >
131
+ </ StepDetails >
132
132
</ StepWrapper >
133
133
) ;
134
134
}
@@ -251,6 +251,10 @@ const ChildrenWrapper = styled('div')<{isActive: boolean}>`
251
251
}
252
252
` ;
253
253
254
+ const StepDetails = styled ( 'div' ) `
255
+ overflow: hidden;
256
+ ` ;
257
+
254
258
GuidedSteps . Step = Step ;
255
259
GuidedSteps . BackButton = BackButton ;
256
260
GuidedSteps . NextButton = NextButton ;
You can’t perform that action at this time.
0 commit comments