@centreon/ui 24.4.62 → 24.4.63

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": "24.4.62",
3
+ "version": "24.4.63",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "update:deps": "pnpx npm-check-updates -i --format group",
@@ -184,6 +184,9 @@ export const getTheme = (mode: ThemeMode): ThemeOptions => ({
184
184
  padding: 0;
185
185
  width: 100%;
186
186
  }
187
+ #root {
188
+ background-color: ${theme.palette.background.paper};
189
+ }
187
190
  @font-face {
188
191
  font-family: 'Roboto';
189
192
  font-style: normal;
@@ -53,7 +53,7 @@ export const useFullscreen = (): UseFullscreenState => {
53
53
  };
54
54
 
55
55
  const toggleFullscreen = (element: HTMLElement | null): void => {
56
- if (isFullscreenActivated) {
56
+ if (isFullscreenActivated || document.fullscreenElement) {
57
57
  exitFullscreen();
58
58
 
59
59
  return;