Skip to content

Commit

Permalink
Minor documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin committed Jun 6, 2024
1 parent e18f2c7 commit c2be98f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@ function StepItem({
setContainerStyle({
height: `${content.offsetHeight - CONTAINER_HEIGHT_OFFSET}px`,
marginBottom: `${CONTAINER_HEIGHT_OFFSET}px`,
// overflow: 'visible' // Unnecessary here, as this is already specified in the .styl
});
} else {
setContainerStyle({});
}
}

// TODO: experimentalRestyleContainer() should also trigger when the window resizes.
useEffect(experimentalRestyleContainer, [step])

return (
Expand Down

0 comments on commit c2be98f

Please sign in to comment.