clamp 1 by default no need for whitespace
Signed-off-by: npiyush97 <npiyush35@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ const useStyles = makeStyles(
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
display: '-webkit-box',
|
||||
'-webkit-line-clamp': ({ line }: Props) => line,
|
||||
'-webkit-line-clamp': ({ line }: Props) => line || 1,
|
||||
'-webkit-box-orient': 'vertical',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -141,7 +141,7 @@ export const columnFactories = Object.freeze({
|
||||
<OverflowTooltip
|
||||
text={entity.metadata.description}
|
||||
placement="bottom-start"
|
||||
line={1}
|
||||
line={2}
|
||||
/>
|
||||
),
|
||||
};
|
||||
|
||||
@@ -141,7 +141,6 @@ export const columnFactories = Object.freeze({
|
||||
<OverflowTooltip
|
||||
text={entity.metadata.description}
|
||||
placement="bottom-start"
|
||||
line={1}
|
||||
/>
|
||||
),
|
||||
width: 'auto',
|
||||
|
||||
Reference in New Issue
Block a user