few final touch ups
This commit is contained in:
parent
ef44b865ab
commit
fd12bef2d8
|
@ -16,7 +16,7 @@ const DialogBoxBase = styled(Dialog)(({ theme }) => ({
|
||||||
'& .MuiDialogActions-root button': {
|
'& .MuiDialogActions-root button': {
|
||||||
fontSize: '18px',
|
fontSize: '18px',
|
||||||
lineHeight: '21.78px',
|
lineHeight: '21.78px',
|
||||||
paddingTop: theme.spacing(2),
|
padding: theme.spacing(2),
|
||||||
},
|
},
|
||||||
'& .MuiDialogActions-root button:not(:first-child)': {
|
'& .MuiDialogActions-root button:not(:first-child)': {
|
||||||
marginLeft: theme.spacing(2),
|
marginLeft: theme.spacing(2),
|
||||||
|
|
|
@ -34,7 +34,7 @@ export function UploadProgressDialog({
|
||||||
/>
|
/>
|
||||||
{(props.uploadStage === UPLOAD_STAGES.UPLOADING ||
|
{(props.uploadStage === UPLOAD_STAGES.UPLOADING ||
|
||||||
props.uploadStage === UPLOAD_STAGES.FINISH) && (
|
props.uploadStage === UPLOAD_STAGES.FINISH) && (
|
||||||
<DialogContent>
|
<DialogContent sx={{ '&&&': { px: 0 } }}>
|
||||||
{props.uploadStage === UPLOAD_STAGES.UPLOADING && (
|
{props.uploadStage === UPLOAD_STAGES.UPLOADING && (
|
||||||
<InProgressSection
|
<InProgressSection
|
||||||
filenames={props.filenames}
|
filenames={props.filenames}
|
||||||
|
|
|
@ -60,7 +60,7 @@ interface AnalysisResult {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function Upload(props: Props) {
|
export default function Upload(props: Props) {
|
||||||
const [progressView, setProgressView] = useState(true);
|
const [progressView, setProgressView] = useState(false);
|
||||||
const [uploadStage, setUploadStage] = useState<UPLOAD_STAGES>(
|
const [uploadStage, setUploadStage] = useState<UPLOAD_STAGES>(
|
||||||
UPLOAD_STAGES.START
|
UPLOAD_STAGES.START
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue