Skip to content

Commit 951682c

Browse files
committed
added max height for tool tip display
1 parent 0fcdfb6 commit 951682c

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,13 @@ export default function ComponentMap({
117117
...defaultStyles,
118118
minWidth: 60,
119119
maxWidth: 250,
120+
maxHeight: '300px',
120121
lineHeight: '18px',
121122
pointerEvents: 'all !important',
122123
margin: 0,
123124
padding: 0,
124125
borderRadius: '8px',
125-
};
126-
127-
const scrollStyle: {} = {
128-
minWidth: '60',
129-
maxWidth: '250',
130-
minHeight: '20px',
131-
maxHeight: '200px',
132-
overflowY: 'scroll',
133-
overflowWrap: 'break-word',
126+
overflowY: 'auto',
134127
};
135128

136129
const formatRenderTime: string = (time: number): string => {

0 commit comments

Comments
 (0)