Merge pull request #3615 from appsmithorg/minor-globalsearch-fixes

Minor globalsearch fixes
This commit is contained in:
Nikhil Nandagopal 2021-03-19 11:17:00 +05:30 committed by GitHub
commit 6b7fcc4c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ const HelpBar = ({ toggleShowModal }: Props) => {
onClick={toggleShowModal}
className="t--global-search-modal-trigger"
>
<Text type={TextType.P2}>{HELPBAR_PLACEHOLDER}</Text>
<Text type={TextType.P2}>{HELPBAR_PLACEHOLDER()}</Text>
<Text type={TextType.P3} italic>
{comboText}
</Text>

View File

@ -80,7 +80,7 @@ const ItemTitle = styled.div`
`;
const StyledDocumentIcon = styled(DocumentIcon)`
svg {
&& svg {
width: 14px;
height: 14px;
path {
@ -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 (
<>