Merge branch 'dev' into 'staging'

fix mobile visual

See merge request frontend/squiz!356
This commit is contained in:
Nastya 2024-07-13 13:27:48 +00:00
commit 0344b6ea93
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 >
); );
}; };