change CSS and isEllipsed variable (#2035)

Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
Fellipe Montes 2023-01-13 05:37:23 -03:00 committed by GitHub
parent 83163c17cd
commit 6812f55152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -29,7 +29,7 @@ function Tag({ tags, onToggleHandler, setText }: TagProps): JSX.Element {
<Tooltip overlay={(): string => value}>
<CustomSubText
ellipsis={{
rows: isEllipsed ? 1 : 0,
rows: isEllipsed ? 2 : 0,
}}
isDarkMode={isDarkMode}
>

View File

@ -49,10 +49,11 @@ export const CardContainer = styled.div`
height: 100%;
width: 100%;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: auto;
`;
export const CustomSpace = styled(Space)`