@centreon/ui 23.10.1-MON-20799-fe-implement-new-visualization.13 → 23.10.1-MON-20799-fe-implement-new-visualization.15

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.1-MON-20799-fe-implement-new-visualization.13",
3
+ "version": "23.10.1-MON-20799-fe-implement-new-visualization.15",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
@@ -11,6 +11,9 @@ import { getNormalizedId } from '../../utils';
11
11
  const useStyles = makeStyles()((theme) => ({
12
12
  button: {
13
13
  padding: theme.spacing(0.25)
14
+ },
15
+ tooltip: {
16
+ background: theme.palette.background.tooltip
14
17
  }
15
18
  }));
16
19
 
@@ -44,7 +47,11 @@ const IconButton = ({
44
47
  const { classes, cx } = useStyles();
45
48
 
46
49
  return (
47
- <Tooltip placement={tooltipPlacement} title={title}>
50
+ <Tooltip
51
+ classes={{ tooltip: classes.tooltip }}
52
+ placement={tooltipPlacement}
53
+ title={title}
54
+ >
48
55
  <span aria-label={undefined}>
49
56
  <MuiIconButton
50
57
  aria-label={ariaLabel}