From 20007355d195f0f16f41e4c053a5a12abf0ddde3 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 b7d09dfd31a..0401b680164 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%); `;