-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[DateTimePicker] Change bottom position of AM/PM buttons #27534
Conversation
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.
Looks good to me. I've added a link to the PR description with the codesandbox showing the fix (it is the same example from the issue, but it's using this PR's packages)
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.
Thanks for the work.
Unfortunately, this breaks styles of the ClockPicker (which is used by the TimePicker): https://deploy-preview-27534--material-ui.netlify.app/components/time-picker/#basic-usage
Didn't notice that, sry. I'll try to fix it and apply for DateTimePicker only, where is Cancel/OK buttons |
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.
Looks good now without breaking the TimePicker
Closes #25422
AM/PM buttons are aligned at clock bottom line
Preview: https://deploy-preview-27534--material-ui.netlify.app/components/date-time-picker/#main-content
Link to the fixed codesandbox example: https://codesandbox.io/s/basicdatetimepicker-material-demo-forked-soipx?file=/package.json