From eb8386e3f0647df6d1bbde8b42073850796cc16f Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Tue, 21 Feb 2023 16:46:32 +0100 Subject: [PATCH] fix(dashboard): Chart's empty state not centered (#23022) --- superset-frontend/src/components/Chart/Chart.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/superset-frontend/src/components/Chart/Chart.jsx b/superset-frontend/src/components/Chart/Chart.jsx index 7e9f6aa482..9905c964fd 100644 --- a/superset-frontend/src/components/Chart/Chart.jsx +++ b/superset-frontend/src/components/Chart/Chart.jsx @@ -109,6 +109,10 @@ const Styles = styled.div` } .slice_container { + display: flex; + flex-direction: column; + justify-content: center; + height: ${p => p.height}px; .pivot_table tbody tr {