Skip to content

Commit

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

return (
<StepperContext.Provider value={{ next, prev }}>
<Box display="flex" gap={32} padding={16} flex={1} height="100%">
<Box display="flex" gap={32} flex={1} height="100%">
<Steppers
activeStep={stepProps.step}
steps={steps.map((step) => {
Expand Down
5 changes: 4 additions & 1 deletion src/lib/components/steppers/Steppers.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ type Props = {
steps: Array<StepProps>;
activeStep: number;
};
const SteppersContainer = styled.div``;
const SteppersContainer = styled.div`
padding-top: 4rem;
padding-left: 1rem;
`;
const StepContainer = styled.div`
display: flex;
min-height: 50px;
Expand Down

0 comments on commit 5b5ffcd

Please sign in to comment.