From 34ff0c8ecc47921fedea26a081cb2740ad07d775 Mon Sep 17 00:00:00 2001 From: frozenhelium Date: Wed, 6 Dec 2023 16:12:04 +0545 Subject: [PATCH] Use filter styling from container in appeals table and active operation map --- src/components/domain/ActiveOperationMap/index.tsx | 12 ++++-------- .../domain/ActiveOperationMap/styles.module.css | 11 ----------- src/components/domain/AppealsTable/index.tsx | 8 +++----- src/components/domain/AppealsTable/styles.module.css | 11 ----------- 4 files changed, 7 insertions(+), 35 deletions(-) diff --git a/src/components/domain/ActiveOperationMap/index.tsx b/src/components/domain/ActiveOperationMap/index.tsx index 6d0d39a44..952d031a6 100644 --- a/src/components/domain/ActiveOperationMap/index.tsx +++ b/src/components/domain/ActiveOperationMap/index.tsx @@ -17,10 +17,7 @@ import { MapLayer, MapBounds, } from '@togglecorp/re-map'; -import { - ArtboardLineIcon, - CloseLineIcon, -} from '@ifrc-go/icons'; +import { ArtboardLineIcon } from '@ifrc-go/icons'; import BaseMap from '#components/domain/BaseMap'; import Button from '#components/Button'; @@ -355,8 +352,8 @@ function ActiveOperationMap(props: Props) { className={_cs(styles.activeOperationMap, className)} heading={!presentationMode && heading} withHeaderBorder={!presentationMode} - filtersContainerClassName={styles.filters} childrenContainerClassName={styles.content} + withGridViewInFilter filters={!presentationMode && ( <> -
+