mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 02:19:02 +08:00
change CSS and isEllipsed variable (#2035)
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
This commit is contained in:
parent
83163c17cd
commit
6812f55152
@ -29,7 +29,7 @@ function Tag({ tags, onToggleHandler, setText }: TagProps): JSX.Element {
|
|||||||
<Tooltip overlay={(): string => value}>
|
<Tooltip overlay={(): string => value}>
|
||||||
<CustomSubText
|
<CustomSubText
|
||||||
ellipsis={{
|
ellipsis={{
|
||||||
rows: isEllipsed ? 1 : 0,
|
rows: isEllipsed ? 2 : 0,
|
||||||
}}
|
}}
|
||||||
isDarkMode={isDarkMode}
|
isDarkMode={isDarkMode}
|
||||||
>
|
>
|
||||||
|
@ -49,10 +49,11 @@ export const CardContainer = styled.div`
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
|
||||||
overflow-x: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: auto;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const CustomSpace = styled(Space)`
|
export const CustomSpace = styled(Space)`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user