Skip to content

Commit

Permalink
changed styling of the dialoge progress bar for uploading photos
Browse files Browse the repository at this point in the history
  • Loading branch information
endre2112 committed Sep 9, 2023
1 parent 619ed7e commit f4880b5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/forms/PhotoUploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,21 +303,19 @@ const PhotoUploadForm: FC<Props> = ({ initialValues }) => {
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
width: "20rem",
paddingX: 8,
justifyContent: "space-around",
paddingX: 3,
}}
>
<Typography
sx={{
fontSize: "larger",
paddingBottom: 2,
}}
>
{progress === 100 ? "Velykket!" : "Send en vits til Endre 🦙"}
{progress === 100 ? "Velykket!" : "Laster opp! 🦙"}
</Typography>
<BorderLinearProgress
sx={{ width: "20rem" }}
sx={{ width: "25vw" }}
variant="determinate"
value={progress}
/>
Expand Down

0 comments on commit f4880b5

Please sign in to comment.