Skip to content

Commit

Permalink
Fix LinearProgress looking visually frozen.
Browse files Browse the repository at this point in the history
  • Loading branch information
retrixe committed Aug 13, 2023
1 parent ad4e945 commit a92b6a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imports/dashboard/files/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Editor = (props: {
Save
</Button>
</div>
{saving && (<div style={{ paddingTop: 10 }}><LinearProgress /></div>)}
{saving && (<div style={{ paddingTop: 10 }}><LinearProgress color='secondary' /></div>)}
</>
)
}
Expand Down
2 changes: 1 addition & 1 deletion imports/dashboard/files/overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Overlay = ({ message }: { message: string }): JSX.Element => (
<OverlayContainer>
<div style={{ flex: 1 }} />
<Paper elevation={3} sx={{ height: '80px', m: '28px', p: '20px', ml: { xs: '28px', sm: '228px' } }}>
<LinearProgress />
<LinearProgress color='secondary' />
<br />
<Typography variant='body1'>{message}</Typography>
</Paper>
Expand Down
2 changes: 1 addition & 1 deletion imports/errors/connectionFailure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const ConnectionFailure = (props: { loading: boolean, title?: string }):
<div style={{ padding: 6 }}>
{props.title && <Typography gutterBottom variant='h6'>{props.title}</Typography>}
<Typography gutterBottom>Loading...</Typography>
<LinearProgress />
<LinearProgress color='secondary' />
</div>
) : (
<>
Expand Down

0 comments on commit a92b6a9

Please sign in to comment.