Merge pull request #3615 from appsmithorg/minor-globalsearch-fixes
Minor globalsearch fixes
This commit is contained in:
commit
6b7fcc4c5d
|
|
@ -36,7 +36,7 @@ const HelpBar = ({ toggleShowModal }: Props) => {
|
||||||
onClick={toggleShowModal}
|
onClick={toggleShowModal}
|
||||||
className="t--global-search-modal-trigger"
|
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>
|
<Text type={TextType.P3} italic>
|
||||||
{comboText}
|
{comboText}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ const ItemTitle = styled.div`
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledDocumentIcon = styled(DocumentIcon)`
|
const StyledDocumentIcon = styled(DocumentIcon)`
|
||||||
svg {
|
&& svg {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
path {
|
path {
|
||||||
|
|
@ -129,7 +129,7 @@ const WidgetItem = (props: {
|
||||||
const { type } = item || {};
|
const { type } = item || {};
|
||||||
let title = getItemTitle(item);
|
let title = getItemTitle(item);
|
||||||
const pageName = usePageName(item.pageId);
|
const pageName = usePageName(item.pageId);
|
||||||
title = `${pageName} / ${title}`;
|
title = `${title} / ${pageName}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
@ -168,7 +168,7 @@ const ActionItem = (props: {
|
||||||
|
|
||||||
let title = getItemTitle(item);
|
let title = getItemTitle(item);
|
||||||
const pageName = usePageName(config.pageId);
|
const pageName = usePageName(config.pageId);
|
||||||
title = `${pageName} / ${title}`;
|
title = `${title} / ${pageName}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user