From fc0aa5f1eb88b0aabaa6349cea3b735cc415a88e Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Tue, 7 Feb 2023 17:44:30 +0100 Subject: [PATCH] fix(dashboard): Chart's empty state not centered --- 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 7e9f6aa482e19..9905c964fd21d 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 {