@centreon/ui 23.10.71 → 23.10.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -85,7 +85,14 @@ const ResponsiveGauge = ({
|
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
return (
|
|
88
|
-
<Box
|
|
88
|
+
<Box
|
|
89
|
+
sx={{
|
|
90
|
+
height: '100%',
|
|
91
|
+
overflow: 'hidden',
|
|
92
|
+
position: 'relative',
|
|
93
|
+
width: '100%'
|
|
94
|
+
}}
|
|
95
|
+
>
|
|
89
96
|
<svg height={height} ref={svgRef} width={width}>
|
|
90
97
|
<Group left={centerX + margins.left} top={centerY + height / 6}>
|
|
91
98
|
<Thresholds
|
|
@@ -127,7 +127,14 @@ const ResponsiveSingleBar = ({
|
|
|
127
127
|
const springStyle = useSpring({ width: metricBarWidth });
|
|
128
128
|
|
|
129
129
|
return (
|
|
130
|
-
<Box
|
|
130
|
+
<Box
|
|
131
|
+
sx={{
|
|
132
|
+
height: '100%',
|
|
133
|
+
overflow: 'hidden',
|
|
134
|
+
position: 'relative',
|
|
135
|
+
width: '100%'
|
|
136
|
+
}}
|
|
137
|
+
>
|
|
131
138
|
<svg height={height} ref={svgRef} width={width}>
|
|
132
139
|
<Group.Group>
|
|
133
140
|
{text}
|