From 0ce30cadff6dee1b88bb72976daa19496e671c19 Mon Sep 17 00:00:00 2001 From: Osama Sayed Date: Mon, 30 Dec 2024 22:42:39 +0500 Subject: [PATCH] Updates --- .../ExpandedSearchInputSection.module.scss | 6 +++++- .../Search/CommandBar/ExpandedSearchInputSection/index.tsx | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Search/CommandBar/ExpandedSearchInputSection/ExpandedSearchInputSection.module.scss b/src/components/Search/CommandBar/ExpandedSearchInputSection/ExpandedSearchInputSection.module.scss index 77ec8a275d..84554671c1 100644 --- a/src/components/Search/CommandBar/ExpandedSearchInputSection/ExpandedSearchInputSection.module.scss +++ b/src/components/Search/CommandBar/ExpandedSearchInputSection/ExpandedSearchInputSection.module.scss @@ -65,6 +65,10 @@ $height: calc(16 * var(--spacing-mega)); padding-inline-end: var(--spacing-xxsmall); overflow-y: auto; position: relative; - height: $height; box-sizing: border-box; + max-height: $height; +} + +.height { + height: $height; } diff --git a/src/components/Search/CommandBar/ExpandedSearchInputSection/index.tsx b/src/components/Search/CommandBar/ExpandedSearchInputSection/index.tsx index d27ee29e14..34c7e664d2 100644 --- a/src/components/Search/CommandBar/ExpandedSearchInputSection/index.tsx +++ b/src/components/Search/CommandBar/ExpandedSearchInputSection/index.tsx @@ -1,6 +1,7 @@ /* eslint-disable max-lines */ import React, { useCallback } from 'react'; +import classNames from 'classnames'; import groupBy from 'lodash/groupBy'; import useTranslation from 'next-translate/useTranslation'; import { shallowEqual, useSelector } from 'react-redux'; @@ -148,7 +149,7 @@ const ExpandedSearchInputSection: React.FC = ({ searchQuery }) => { return (
-
+
{isVoiceSearchFlowStarted ? ( ) : (