|
@@ -22,20 +22,22 @@ const SearchResultContent: FC<Props> = (props: Props) => {
|
|
|
if (page == null) return <></>;
|
|
if (page == null) return <></>;
|
|
|
const growiRenderer = props.appContainer.getRenderer('searchresult');
|
|
const growiRenderer = props.appContainer.getRenderer('searchresult');
|
|
|
return (
|
|
return (
|
|
|
- <div key={page._id} className="search-result-page grw-page-path-text-muted-container mb-5">
|
|
|
|
|
|
|
+ <div key={page._id} className="search-result-page grw-page-path-text-muted-container d-flex flex-column">
|
|
|
<SearchResultContentSubNavigation
|
|
<SearchResultContentSubNavigation
|
|
|
pageId={page._id}
|
|
pageId={page._id}
|
|
|
revisionId={page.revision}
|
|
revisionId={page.revision}
|
|
|
path={page.path}
|
|
path={page.path}
|
|
|
>
|
|
>
|
|
|
</SearchResultContentSubNavigation>
|
|
</SearchResultContentSubNavigation>
|
|
|
- <RevisionLoader
|
|
|
|
|
- growiRenderer={growiRenderer}
|
|
|
|
|
- pageId={page._id}
|
|
|
|
|
- pagePath={page.path}
|
|
|
|
|
- revisionId={page.revision}
|
|
|
|
|
- highlightKeywords={props.searchingKeyword}
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <div className="search-result-page-content">
|
|
|
|
|
+ <RevisionLoader
|
|
|
|
|
+ growiRenderer={growiRenderer}
|
|
|
|
|
+ pageId={page._id}
|
|
|
|
|
+ pagePath={page.path}
|
|
|
|
|
+ revisionId={page.revision}
|
|
|
|
|
+ highlightKeywords={props.searchingKeyword}
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|