It is the first time I am using Material Ui and I am having trouble making responsive the Timeline. Currently I am using the aling 'alternate', but I woul like it to be displayed as align='left' when is in a mobile or certain width. I tried diffferent approaches but none worked. The project is a Next.Js app with Typescript. This is the code:
<Timeline align={matches ? 'alternate' : 'left'}>
<TimelineItem className={classes.primaryTail}>
<TimelineOppositeContent>
<h5>2015</h5>
</TimelineOppositeContent>
<TimelineSeparator>
<TimelineDot>
<FaUniversity size='1.5em' />
</TimelineDot>
<TimelineConnector />
</TimelineSeparator>
<TimelineContent>
<Paper elevation={24} className={classes.paper}>
<h5>Some title</h5>
<p>Some paragraph</p>
</Paper>
</TimelineContent>
</TimelineItem>
</Timeline>
Thanks in advance.