Skip to content

Commit

Permalink
Fix icon cloud container on drop zone (#8750)
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelsohn authored Jun 7, 2024
1 parent 5416b35 commit a355387
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/web/src/components/upload/Dropzone.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { ReactNode } from 'react'

import { Flex, Text, TextLink, IconCloudUpload, Paper } from '@audius/harmony'
import {
Flex,
Text,
TextLink,
IconCloudUpload,
Paper,
Box
} from '@audius/harmony'
import cn from 'classnames'
import ReactDropzone from 'react-dropzone'

Expand Down Expand Up @@ -126,7 +133,11 @@ export const Dropzone = ({
{subtextAboveIcon}
</Text>
) : null}
<IconCloudUpload className={cn(styles.iconUpload, iconClassName)} />
<Box w='100%'>
<IconCloudUpload
className={cn(styles.iconUpload, iconClassName)}
/>
</Box>
</>
) : null}
<div className={cn(styles.text, messageClassName)}>{getMessage()}</div>
Expand Down

0 comments on commit a355387

Please sign in to comment.