You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constisMobile=`@media only screen and (max-width: 600px), (max-height: 600px)`;constxs=useMediaQuery(isMobile);// not just const xs = useMediaQuery(useTheme().breakpoints.down('sm'));
so I can match phones in both landscape and portrait.
Now, I also like to use <Grid item xs={12} sm={3}> when working in MUI, which of course then triggers at different screen sizes then the above simple query would.
Did anyone encounter similar situations?
Do I have to do the grid-sizing without the convenient breakpoints now?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'd like to add a custom breakpoint like:
so I can match phones in both landscape and portrait.
Now, I also like to use
<Grid item xs={12} sm={3}>
when working in MUI, which of course then triggers at different screen sizes then the above simple query would.Did anyone encounter similar situations?
Do I have to do the grid-sizing without the convenient breakpoints now?
Beta Was this translation helpful? Give feedback.
All reactions