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"
sx={{
width: "150px",
mb: "15px"
}}
onClick={stopThisPage}
>отмена</Button>

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

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