How can I prevent Flexbox from functioning on small screens using Material UI? I am looking for something similar to the d-md-flex class in Bootstrap but for Material UI.
In Bootstrap (works as expected)
<div class="d-md-flex align-items-md-center">
<div>Content #1</div>
<div>Content #2</div>
</div>
In React:
<Box container display="flex">
<Box item>Content #1</Box>
<Box item>Content #2</Box>
</Box>
The elements should be close together on large screens and stack vertically on small screens.
I would greatly appreciate any suggestions or advice. Thank you!