@centreon/ui 23.10.70 → 23.10.71

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centreon/ui",
3
- "version": "23.10.70",
3
+ "version": "23.10.71",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
@@ -85,7 +85,7 @@ const ResponsiveGauge = ({
85
85
  });
86
86
 
87
87
  return (
88
- <Box sx={{ position: 'relative' }}>
88
+ <Box sx={{ height: '100%', position: 'relative', width: '100%' }}>
89
89
  <svg height={height} ref={svgRef} width={width}>
90
90
  <Group left={centerX + margins.left} top={centerY + height / 6}>
91
91
  <Thresholds
@@ -127,7 +127,7 @@ const ResponsiveSingleBar = ({
127
127
  const springStyle = useSpring({ width: metricBarWidth });
128
128
 
129
129
  return (
130
- <Box sx={{ position: 'relative' }}>
130
+ <Box sx={{ height: '100%', position: 'relative', width: '100%' }}>
131
131
  <svg height={height} ref={svgRef} width={width}>
132
132
  <Group.Group>
133
133
  {text}