Open supertorpe opened 2 weeks ago
The title of the app is not responsive: on mobile it overflows to two lines:
This should do the job:
const isSmallScreen = useMediaQuery(theme.breakpoints.down("sm")); ... <Typography variant="h6" component="div" sx={{ flexGrow: 1, ml: 1, fontSize: isSmallScreen ? "1rem" : "1.25rem" }} > Free Chess </Typography>
It happens for screens below 366 pixels wide. I'll improve that in a future update. Thanks for the heads up 👍
The title of the app is not responsive: on mobile it overflows to two lines:
This should do the job: