fix mobile visual

This commit is contained in:
Nastya 2024-07-13 12:46:53 +03:00
parent 2041a01293
commit 02c8d36bc8
3 changed files with 10 additions and 3 deletions

@ -47,6 +47,7 @@ export const AmoRemoveAccount: FC<Props> = ({
variant="contained" variant="contained"
sx={{ sx={{
width: "150px", width: "150px",
mb: "15px"
}} }}
onClick={stopThisPage} onClick={stopThisPage}
>отмена</Button> >отмена</Button>

@ -36,7 +36,7 @@ export default function CreateButtons ({mt}: string) {
}} }}
> >
<TemplateIcon /> <TemplateIcon />
<Typography>Посмотреть шаблоны</Typography> {!isMobile && <Typography>Посмотреть шаблоны</Typography>}
</Button> </Button>
</Link> </Link>
<Button <Button

@ -163,7 +163,13 @@ export const SidebarMobile: FC<Iprops> = ({ open, changePage, setHeightSitebar,
) : ( ) : (
<Typography <Typography
color={"white"} color={"white"}
sx={{ wordBreak: "break-word" }} sx={{
wordBreak: "break-word",
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
width: "175px",
}}
> >
{quiz.name} {quiz.name}
</Typography> </Typography>
@ -296,6 +302,6 @@ export const SidebarMobile: FC<Iprops> = ({ open, changePage, setHeightSitebar,
id={id} id={id}
changePage={changePage} changePage={changePage}
/> />
</Box> </Box >
); );
}; };