From d123249bd2d39ff04ce3e57a5bf6ed261beec976 Mon Sep 17 00:00:00 2001 From: Richard Fogaca Nienkotter <63572350+richardfogaca@users.noreply.github.com> Date: Tue, 11 Nov 2025 05:48:25 -0300 Subject: [PATCH] fix(dashboard): align filter bar elements vertically in horizontal mode (#36036) --- .../src/components/Loading/index.tsx | 4 +++- .../FilterBar/ActionButtons/index.tsx | 1 - .../FilterBar/FilterControls/FilterControl.tsx | 4 +++- .../FilterBar/FilterControls/FilterValue.tsx | 16 ++++++++++++++-- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/superset-frontend/packages/superset-ui-core/src/components/Loading/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/Loading/index.tsx index 92028672942..b8a73ca62d2 100644 --- a/superset-frontend/packages/superset-ui-core/src/components/Loading/index.tsx +++ b/superset-frontend/packages/superset-ui-core/src/components/Loading/index.tsx @@ -49,7 +49,9 @@ const LoaderWrapper = styled.div<{ &.inline-centered { margin: 0 auto; - display: block; + display: flex; + align-items: center; + justify-content: center; } &.floating { position: absolute; diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/ActionButtons/index.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/ActionButtons/index.tsx index 7d2db7dec63..61859b3dd7a 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/ActionButtons/index.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/ActionButtons/index.tsx @@ -152,7 +152,6 @@ const ActionButtons = ({