From ce9fa9e76c15d65c69c35e55f6155813f4130840 Mon Sep 17 00:00:00 2001 From: Cameron Taylor <50385537+ct3685@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:56:55 -0400 Subject: [PATCH] Temporarily hide "All search results" display and "Clear filters" button (#146) --- .../CollectionFiltered/CollectionFiltered.theme.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/components/src/components/CollectionFiltered/CollectionFiltered.theme.ts b/packages/components/src/components/CollectionFiltered/CollectionFiltered.theme.ts index bde2876..04c0e6f 100644 --- a/packages/components/src/components/CollectionFiltered/CollectionFiltered.theme.ts +++ b/packages/components/src/components/CollectionFiltered/CollectionFiltered.theme.ts @@ -11,6 +11,13 @@ export const styleOverrides: ComponentsOverrides['CollectionFiltered'] = // '[class*=CollectionFiltered-contentContainer]': { // padding: '0 !important' // } + // Temporarily hiding the "All search results" display and "Clear filters" button + '& [data-testid="CollectionFiltered-ResultsDisplay"]': { + display: 'none' // Hides the results display + }, + '& [data-testid="CollectionFilters-clear"]': { + display: 'none' // Hides the clear filters button + } }; } };