Skip to content

Commit

Permalink
stepper: fix the height
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengYanJin committed Dec 13, 2023
1 parent 71dcdb6 commit 5407868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/steppers/Stepper.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export const Stepper: Stepper = ({ steps }) => {

return (
<StepperContext.Provider value={{ next, prev }}>
<Box display={'flex'} gap={32} padding={32} flex={1}>

<Box display="flex" gap={32} padding={16} flex={1} height="100%">
<Steppers
activeStep={stepProps.step}
steps={steps.map((step) => {
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/steppers/Steppers.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const SteppersContainer = styled.div``;
const StepContainer = styled.div`
display: flex;
min-height: 50px;
min-width: 20rem;
`;
const Panel = styled.div`
display: flex;
Expand Down

0 comments on commit 5407868

Please sign in to comment.