diff --git a/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx b/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx index ffdbb93d3..ec4f7a0c9 100644 --- a/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx +++ b/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx @@ -1,4 +1,4 @@ -import { Box, HStack, VStack } from './../../elements/LayoutPrimitives' +import { Box, HStack, SpanBox, VStack } from './../../elements/LayoutPrimitives' import Dropzone from 'react-dropzone' import type { LibraryItem, @@ -828,7 +828,9 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element { > {({ getRootProps, getInputProps, acceptedFiles, fileRejections }) => (
-

Drag n drop files anywhere below

+ + Drag n drop files anywhere below + {!props.isValidating && props.items.length == 0 ? ( - {/* Temporary code */}
Files: @@ -949,8 +950,8 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
  • {fileName}
  • ))} -
    {/* Temporary code */} - +
    {' '} + {/* Temporary code */} {props.showAddLinkModal && ( props.setShowAddLinkModal(false)} /> )} diff --git a/packages/web/components/templates/library/LibraryList.tsx b/packages/web/components/templates/library/LibraryList.tsx index 1ced0a1b2..1347fb1f8 100644 --- a/packages/web/components/templates/library/LibraryList.tsx +++ b/packages/web/components/templates/library/LibraryList.tsx @@ -54,10 +54,12 @@ export function LibraryList(props: LibraryListProps): JSX.Element { return ( - + {({ getRootProps, getInputProps, acceptedFiles, fileRejections }) => (
    -

    Drag n drop files anywhere below

    + + Drag n drop files anywhere below + )} - {/* Temporary code */}
    Files: @@ -122,8 +123,8 @@ export function LibraryList(props: LibraryListProps): JSX.Element {
  • {fileName}
  • ))} -
    {/* Temporary code */} - +
    {' '} + {/* Temporary code */} {/* Extra padding at bottom to give space for scrolling */}