From 4e4f0b822ae9b5fb3aca7e105da7fc11d6a38cbd Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 22 Mar 2024 12:11:14 -0700 Subject: [PATCH] fix(dashboard,css): center align 'waiting on database' (#27611) --- superset-frontend/src/components/Chart/Chart.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/src/components/Chart/Chart.jsx b/superset-frontend/src/components/Chart/Chart.jsx index b7d09dfd31ab8..0401b680164f5 100644 --- a/superset-frontend/src/components/Chart/Chart.jsx +++ b/superset-frontend/src/components/Chart/Chart.jsx @@ -105,6 +105,7 @@ const defaultProps = { const Styles = styled.div` min-height: ${p => p.height}px; position: relative; + text-align: center; .chart-tooltip { opacity: 0.75; @@ -132,6 +133,7 @@ const LoadingDiv = styled.div` position: absolute; left: 50%; top: 50%; + width: 80%; transform: translate(-50%, -50%); `;