-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Availability Page style | Applicant Side #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| /> | ||
| <br /> | ||
|
|
||
| <Typography className="label">Mobile Number</Typography> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another approach you could try (maybe next time) instead of having <br/> tags above every label is to give .label some margin-top in css.
| <Stepper nonLinear activeStep={activeStep}> | ||
| {steps.map((label, index) => ( | ||
| <Step key={label}> | ||
| <StepButton onClick={handleStep(index)}>{label}</StepButton> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your onClick handler won't quite work right, because what is happening is that you are calling handleStep(index) and passing its return value (which is probably undefined) as the onClick prop instead of actually passing in a function to onClick. Instead, you might need to rewrite it like this:
onClick={() => handleStep(index)}
| font-size: inherit; | ||
| } | ||
|
|
||
| .Container_page__availability .MuiSelect-selectMenu { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job putting .Container_page__availability in front of each of these selectors!
relates #209
…into 209-fix-availabilty-style
relates #209