Skip to content

Commit 3eb2fdf

Browse files
committed
adjsuted width of tool tip display
1 parent 52648bb commit 3eb2fdf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ export default function ComponentMap({
116116
const tooltipStyles: ToolTipStyles = {
117117
...defaultStyles,
118118
minWidth: 60,
119-
maxWidth: 300,
119+
maxWidth: 250,
120120
lineHeight: '18px',
121121
zIndex: 100,
122122
pointerEvents: 'all !important',
123123
};
124124

125125
const scrollStyle: {} = {
126126
minWidth: '60',
127-
maxWidth: '300',
127+
maxWidth: '250',
128128
minHeight: '20px',
129129
maxHeight: '200px',
130130
overflowY: 'scroll',

src/app/styles/layout/_stateContainer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
color: white;
9595
}
9696

97+
// bar graph container
9798
.bargraph-position {
9899
position: relative;
99100
}
@@ -114,7 +115,7 @@
114115
}
115116

116117
.tooltip-container {
117-
width: 300px;
118+
width: 250px;
118119
background-color: #ffffff;
119120
border-radius: 8px;
120121
font-family: 'Outfit', sans-serif;

0 commit comments

Comments
 (0)