ссылки не переполняют

This commit is contained in:
Nastya 2025-06-02 21:19:54 +03:00
parent cc6d78935c
commit 7f024bcf78

@ -10,7 +10,7 @@ interface AuditoryLinkProps {
item: AuditoryItem;
index: number;
onDelete: (id: number) => void;
utmParams:string
utmParams: string
}
export const AuditoryLink = ({ utmParams, item, index, onDelete }: AuditoryLinkProps) => {
@ -76,7 +76,12 @@ export const AuditoryLink = ({ utmParams, item, index, onDelete }: AuditoryLinkP
</>
}
>
<Typography sx={{ color: 'black', fontWeight: 400, fontSize: "16px" }}>
<Typography sx={{
color: 'black', fontWeight: 400, fontSize: "16px",
textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden",
width: "calc(100% - 80px)"
}}>
{linkText}
</Typography>
</ListItem>