Skip to content

Commit

Permalink
upload file style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
burczu committed Nov 14, 2024
1 parent 23e1721 commit 418fbd7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/UploadFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function UploadFile({
</AttachmentPicker>
{uploadedFiles.map((file) => (
<View
style={[styles.flexRow, styles.alignItemsCenter, styles.justifyContentCenter, styles.border, styles.p5, styles.mt3, styles.w100]}
style={[styles.flexRow, styles.alignItemsCenter, styles.justifyContentCenter, styles.border, styles.p5, styles.mt3]}
key={file.uri}
>
<Icon
Expand All @@ -131,7 +131,7 @@ function UploadFile({
medium
/>
<Text
style={[styles.ml2, styles.mr2, styles.textBold, styles.breakWord, styles.widthAuto, styles.w90]}
style={[styles.ml2, styles.mr2, styles.textBold, styles.breakWord, styles.w100, styles.flexShrink1]}
numberOfLines={2}
>
{file.name}
Expand All @@ -151,8 +151,7 @@ function UploadFile({
))}
{errorText !== '' && (
<DotIndicatorMessage
style={styles.mt3}
textStyles={[styles.formError, styles.mb0]}
style={[styles.formError, styles.mt3]}
type="error"
messages={{errorText}}
/>
Expand Down

0 comments on commit 418fbd7

Please sign in to comment.