[FIX]: Overflow issue in delete record popup (#10417)
#10411 **Issue**: After right-clicking on deleted record, popup is cut **Solution**: Added text-overflow ellipsis previous behaviour:  fix:   Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -16,22 +16,21 @@ import {
|
|||||||
|
|
||||||
const StyledMainText = styled.div`
|
const StyledMainText = styled.div`
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
max-width: 100%;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledContextualText = styled.div`
|
const StyledContextualText = styled.div`
|
||||||
color: ${({ theme }) => theme.font.color.light};
|
color: ${({ theme }) => theme.font.color.light};
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
text-decoration: inherit;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
padding-left: ${({ theme }) => theme.spacing(1)};
|
padding-left: ${({ theme }) => theme.spacing(1)};
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user