diff --git a/frontend/src/Editor/Components/Chart.jsx b/frontend/src/Editor/Components/Chart.jsx index 2d471843e0..417e71ec22 100644 --- a/frontend/src/Editor/Components/Chart.jsx +++ b/frontend/src/Editor/Components/Chart.jsx @@ -26,7 +26,8 @@ export const Chart = function Chart({ const computedStyles = { width, - height + height, + background: darkMode ? '#1f2936' : 'white' }; const dataProperty = component.definition.properties.data; @@ -109,7 +110,9 @@ export const Chart = function Chart({ > {loadingState === true ?
- +
+
+
: {loadingState === true && (
- +
+
+
)} diff --git a/frontend/src/Editor/Components/Text.jsx b/frontend/src/Editor/Components/Text.jsx index 2894709264..533e5def9c 100644 --- a/frontend/src/Editor/Components/Text.jsx +++ b/frontend/src/Editor/Components/Text.jsx @@ -45,7 +45,7 @@ export const Text = function Text({ {!loadingState &&
} {loadingState === true && (
- +
)}