@centreon/ui 23.10.88 → 23.10.89

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.88",
3
+ "version": "23.10.89",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
@@ -110,7 +110,7 @@ const ResponsiveSingleBar = ({
110
110
  () =>
111
111
  scaleLinear<number>({
112
112
  domain: [0, adaptedMaxValue],
113
- range: [0, width]
113
+ range: [0, width - 10 || 0]
114
114
  }),
115
115
  [width, adaptedMaxValue]
116
116
  );
@@ -150,7 +150,7 @@ const ResponsiveSingleBar = ({
150
150
  height={barHeights[size]}
151
151
  rx={4}
152
152
  style={springStyle}
153
- x={0}
153
+ x={5}
154
154
  y={groupMargin + (isSmall ? 0 : 2 * margins.top)}
155
155
  />
156
156
  <Bar
@@ -160,7 +160,7 @@ const ResponsiveSingleBar = ({
160
160
  ry={4}
161
161
  stroke={alpha(theme.palette.text.primary, 0.3)}
162
162
  width={maxBarWidth}
163
- x={0}
163
+ x={5}
164
164
  y={groupMargin + (isSmall ? 0 : 2 * margins.top)}
165
165
  />
166
166
  {thresholds.enabled && (