From 493f4ff4e2bad2e00132112de944ce6526d522a5 Mon Sep 17 00:00:00 2001 From: Nodir Latipov Date: Tue, 6 Sep 2022 11:29:13 +0500 Subject: [PATCH] feat: update show border for first level --- .../public/filters_builder/filters_builder_filter_group.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/unified_search/public/filters_builder/filters_builder_filter_group.tsx b/src/plugins/unified_search/public/filters_builder/filters_builder_filter_group.tsx index 3b72dc3db2ff7..fa739b6aa4edd 100644 --- a/src/plugins/unified_search/public/filters_builder/filters_builder_filter_group.tsx +++ b/src/plugins/unified_search/public/filters_builder/filters_builder_filter_group.tsx @@ -124,7 +124,7 @@ export const FilterGroup = ({ hasShadow={false} paddingSize="none" className={cx({ - [boderPadding]: path !== '', + [boderPadding]: !firstLevel, })} > {filters.map((filter, index, acc) => (