File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,15 +77,16 @@ export const BasicStepper = {
7777 </ Stepper >
7878
7979 < div className = "button-container" >
80- { activeStep > 0 && (
80+ {
8181 < button
8282 className = "nav-button prev"
8383 onClick = { ( ) => handleStepChange ( activeStep - 1 ) }
8484 aria-label = "Previous Step"
85+ disabled = { activeStep === 0 }
8586 >
86- Back
87+ Prev
8788 </ button >
88- ) }
89+ }
8990 { activeStep < steps . length - 1 && (
9091 < button
9192 className = "nav-button next"
Original file line number Diff line number Diff line change 7272}
7373
7474.custom-step-content-wrapper {
75- margin-top : 16 px ;
76- padding-left : 48 px ;
77- width : 300 px ;
75+ margin-top : 5 px ;
76+ padding-left : 5 px ;
77+ width : 500 px ;
7878 color : # 666 ;
7979 box-sizing : border-box;
8080}
8181
8282.custom-navigation-buttons {
8383 display : flex;
8484 justify-content : center;
85+ align-items : center;
8586 gap : 12px ;
8687 margin-top : 24px ;
8788}
8889
8990.custom-navigation-button {
90- padding : 10px 20px ;
91+ height : 40px ;
92+ padding : 0 20px ;
9193 background-color : # 1976d2 ;
9294 color : white;
9395 border : none;
You can’t perform that action at this time.
0 commit comments