From 6d66963489162640ac0b3b872b70cf7311c53da1 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Tue, 23 Nov 2021 16:08:24 -0700 Subject: [PATCH] fix: hiding HiddenControl inputs for real, to reduce bootstrap space consumption (#15182) Co-authored-by: Ville Brofeldt --- .../src/explore/components/ControlRow.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/explore/components/ControlRow.tsx b/superset-frontend/src/explore/components/ControlRow.tsx index d4ea06301e925..4a1dfd5789842 100644 --- a/superset-frontend/src/explore/components/ControlRow.tsx +++ b/superset-frontend/src/explore/components/ControlRow.tsx @@ -30,9 +30,15 @@ export default function ControlRow({ controls }: { controls: Control[] }) { ); const colSize = NUM_COLUMNS / countableControls.length; return ( -
+
{controls.map((control, i) => ( -
+
{control}
))}