-
Notifications
You must be signed in to change notification settings - Fork 380
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
feat(react-scheduler): add mobile adaptability to the Scheduler #2497
feat(react-scheduler): add mobile adaptability to the Scheduler #2497
Conversation
</Grid> | ||
</Grid> | ||
|
||
<Grid item xs="auto"> | ||
<Grid container direction="row"> | ||
<Grid item xs={1}> | ||
<div className={classes.timeScale}> |
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.
Why timeScale
applies to two places and one of them DayScale?
FPR |
@@ -12,7 +12,7 @@ import { appointments } from '../../../demo-data/appointments'; | |||
const formatDayScaleDate = (date, options) => { | |||
const momentDate = moment(date); | |||
const { weekday } = options; | |||
return momentDate.format(weekday ? 'dddd' : 'D'); | |||
return momentDate.format(weekday ? 'dd' : 'D'); |
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.
Maybe we just add a text-overflow: elipsis
without change formating?
title: { | ||
...typography.h6, | ||
}, |
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.
title: typography.h6,
FPR |
Before:
After: