From 82cd1b33ba199b251c95272866f7e948c43115bb Mon Sep 17 00:00:00 2001 From: Rishabh Saxena Date: Thu, 18 Mar 2021 18:14:37 +0530 Subject: [PATCH 1/3] fix document icon styles --- .../components/editorComponents/GlobalSearch/SearchResults.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx index 635698ee46..91b133aec2 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx @@ -80,7 +80,7 @@ const ItemTitle = styled.div` `; const StyledDocumentIcon = styled(DocumentIcon)` - svg { + && svg { width: 14px; height: 14px; path { From 660b00b4d50a0fbd5e8c2667a40cf4e72f341d2f Mon Sep 17 00:00:00 2001 From: Rishabh Saxena Date: Thu, 18 Mar 2021 18:17:09 +0530 Subject: [PATCH 2/3] update title --- .../editorComponents/GlobalSearch/SearchResults.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx index 91b133aec2..2b660fa826 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx @@ -129,7 +129,7 @@ const WidgetItem = (props: { const { type } = item || {}; let title = getItemTitle(item); const pageName = usePageName(item.pageId); - title = `${pageName} / ${title}`; + title = `${title} / ${pageName}`; return ( <> @@ -168,7 +168,7 @@ const ActionItem = (props: { let title = getItemTitle(item); const pageName = usePageName(config.pageId); - title = `${pageName} / ${title}`; + title = `${title} / ${pageName}`; return ( <> From 8acb3652015d13066e845bdd6219ab9eaaffa189 Mon Sep 17 00:00:00 2001 From: Rishabh Saxena Date: Thu, 18 Mar 2021 18:19:05 +0530 Subject: [PATCH 3/3] Fix placeholder --- .../src/components/editorComponents/GlobalSearch/HelpBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx b/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx index e824ecedc1..4652ccabc6 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx @@ -36,7 +36,7 @@ const HelpBar = ({ toggleShowModal }: Props) => { onClick={toggleShowModal} className="t--global-search-modal-trigger" > - {HELPBAR_PLACEHOLDER} + {HELPBAR_PLACEHOLDER()} {comboText}