few final touch ups

This commit is contained in:
Abhinav 2022-05-26 13:59:49 +05:30
parent ef44b865ab
commit fd12bef2d8
3 changed files with 3 additions and 3 deletions

View file

@ -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),

View file

@ -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}

View file

@ -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
); );