diff --git a/components/core/Filter/index.js b/components/core/Filter/index.js index 85e42bd6..cca7ca66 100644 --- a/components/core/Filter/index.js +++ b/components/core/Filter/index.js @@ -145,7 +145,7 @@ export default function Filter({ if (disabled) { return showSearchResult ? ( - + ) : ( children ); @@ -208,7 +208,7 @@ export default function Filter({ />
{showSearchResult ? ( - + ) : ( children )} diff --git a/components/core/Search/index.js b/components/core/Search/index.js index 7103339b..979cadfb 100644 --- a/components/core/Search/index.js +++ b/components/core/Search/index.js @@ -176,7 +176,7 @@ function Dismiss({ css, ...props }) { * Content * -----------------------------------------------------------------------------------------------*/ -function Content({ onAction, viewer, page }) { +function Content({ onAction, viewer, page, isMobile }) { const { results } = useSearchStore(); const { files, slates } = results; @@ -199,6 +199,7 @@ function Content({ onAction, viewer, page }) { items={files} onAction={onAction} viewer={viewer} + isMobile={isMobile} page={page} view="grid" /> diff --git a/scenes/SceneFilesFolder.js b/scenes/SceneFilesFolder.js index a67a6555..671fdd6f 100644 --- a/scenes/SceneFilesFolder.js +++ b/scenes/SceneFilesFolder.js @@ -69,6 +69,7 @@ export default function SceneFilesFolder({ viewer, page, onAction, isMobile }) { isOwner={true} items={objects} onAction={onAction} + isMobile={isMobile} viewer={viewer} page={page} view="grid" diff --git a/scenes/SceneSlate.js b/scenes/SceneSlate.js index f28379dc..574edc4a 100644 --- a/scenes/SceneSlate.js +++ b/scenes/SceneSlate.js @@ -482,6 +482,7 @@ class SlatePage extends React.Component { view={"grid"} isOwner={isOwner} page={this.props.page} + isMobile={this.props.isMobile} />