Improve tree node title style
This commit is contained in:
@@ -73,19 +73,17 @@ const styles = (theme: Theme) => ({
|
|||||||
overflow: 'hidden' as 'hidden',
|
overflow: 'hidden' as 'hidden',
|
||||||
textOverflow: 'ellipsis' as 'ellipsis',
|
textOverflow: 'ellipsis' as 'ellipsis',
|
||||||
padding: '0',
|
padding: '0',
|
||||||
// display: 'inline-block' as 'inline-block',
|
|
||||||
},
|
},
|
||||||
sourceEdge: {
|
sourceEdge: {
|
||||||
fontWeight: 'bold' as 'bold',
|
fontWeight: 'bold' as 'bold',
|
||||||
overflow: 'hidden' as 'hidden',
|
overflow: 'hidden' as 'hidden',
|
||||||
// display: 'inline-block' as 'inline-block',
|
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
lineHeight: '1em',
|
lineHeight: '1em',
|
||||||
display: 'inline-block' as 'inline-block',
|
display: 'inline-block' as 'inline-block',
|
||||||
whiteSpace: 'nowrap' as 'nowrap',
|
whiteSpace: 'nowrap' as 'nowrap',
|
||||||
padding: '2px 4px 0px 4px',
|
padding: '1px 4px 0px 4px',
|
||||||
height: '16px',
|
height: '16px',
|
||||||
margin: '1px 0px 2px 0px',
|
margin: '1px 0px 2px 0px',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user